Re: [R] multiple plots - editing ggplot2 plot

2008-09-30 Thread hadley wickham
On Sat, Sep 27, 2008 at 10:20 AM, Pedro Barros [EMAIL PROTECTED] wrote: Hi All, I am trying to build a composite plot, with multiple categories, using ggplot2. In principle, it could be done using facetting, but I do not seem to be able to get past the defaults, so I try building each plot

Re: [R] multiple plots - editing ggplot2 plot

2008-09-30 Thread Pedro Barros
Hi Hadley, Thanks for the quick reply. Well, if I could do it directly in ggplot, even better. My data is below (from dump). I calculate the bar heights previously, now I just want to plot them, with fixed fill colours (to make sure they match other plots I use). Thanks again, Pedro `x1` -

[R] multiple plots - editing ggplot2 plot

2008-09-27 Thread Pedro Barros
Hi All, I am trying to build a composite plot, with multiple categories, using ggplot2. In principle, it could be done using facetting, but I do not seem to be able to get past the defaults, so I try building each plot separately, then putting them all together using frameGrob and placeGrob.