Re: [R] ggplot2 - ribbon

2011-01-24 Thread Brian Diggs
On 1/24/2011 7:44 AM, Sam wrote: Dear List, I am having trouble setting the transparency of a ribbon in ggplot2 and was wondering if anybody had any suggestions so far i have a plot exactly as i want it and i want to add a ribbon connecting the ymax and ymin, whci i do with the following comm

[R] ggplot2 - ribbon

2011-01-24 Thread Sam
Dear List, I am having trouble setting the transparency of a ribbon in ggplot2 and was wondering if anybody had any suggestions so far i have a plot exactly as i want it and i want to add a ribbon connecting the ymax and ymin, whci i do with the following command m10 + stat_summary(geom="rib

Re: [R] ggplot2 & ribbon

2008-02-16 Thread hadley wickham
> p<-ggplot(reading.melt,aes(x=Date,y=value)) > p+geom_path(aes(colour=Type),size=2)+facet_grid(variable~.) > > but can't figure out > (1) How to add a transparent shade between the Paid & Total lines. I've > tried the ribbon function, but cant seem to get it to shade between the > lines To do th

[R] ggplot2 & ribbon

2008-02-16 Thread simeon duckworth
I would like to be able to shade between two lines using ggplot2 (with faceting too). But, despite reading all the documentation on the website, cant figure out how to do it (either because i am a novice or idiot - or, of course, possibly both) My data looks is readership of paid & free newspape