Re: [R] ggplot2 - getting at the grobs

From: hadley wickham <h.wickham_at_gmail.com>
Date: Tue, 18 Dec 2007 11:56:22 -0600

Hi Pedro,

Could you be a bit more explicit about what you're trying to do? Have you read the last chapter of the draft ggplot book?

Hadley

On Dec 18, 2007 8:41 AM, Pedro de Barros <pbarros_at_ualg.pt> wrote:
> Dear All,
>
> I continue trying to get several of my plotting functions to use
> ggplot, because I really do like the concept of the graphical
> objects, and working with them in the abstract.
> I am now trying to access the grobs to manipulate using grid.
> However, until now all I managed was to get the plot as a gTree
> object, and manipulate it as a gTree from there. The problem is that
> then it is no longer a ggplot, and thus I can no longer use the
> ggplot functions.
> How to get at the grobs, without converting the ggplot into a gTree?
>
> Thanks,
> Pedro
>
> ______________________________________________
> 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.
>

-- 
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 Tue 18 Dec 2007 - 18:00:33 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 Tue 18 Dec 2007 - 18:30:21 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.