Re: [R] Converting qqplot2 qplot() to grammar?

From: hadley wickham <h.wickham_at_gmail.com>
Date: Wed, 21 May 2008 16:47:12 -0600

> Now that this part is working there are two more aspects of the plot I
> would like to remove: (in order of importance)
>
> * The row/column facetting labels.

You should be able to find that using grid.ls()

> * the whitespace that surrounds the plot. I'd like the ggsave output to
> resemble the "cropped.png" file rather than the "ggplot.png" file
> (attached).

That's not easy to do at the moment, because you need to modify properties of the viewports, which you can't currently do with grid. I'm working on a better customisation solution that should allow you to do this. (And to package everything up into a theme that can easily be applied to other plots)

> * the gaps between the subplots (or the ability to change the colour of
> the subplot border?, looks to be grey50.)

As above.

> Hmm, I just get the generic R help for ggplot that says go to the
> website for complete documentation.

That's weird - you might need to upgrade your R to get the latest version of ggplot2.

Hadley

-- 
http://had.co.nz/

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 21 May 2008 - 22:53:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 21 May 2008 - 23:30:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive