[R] ggplot: problem with fill option in stat_smooth()
hadley wickham
h.wickham at gmail.com
Wed Feb 4 18:55:35 CET 2009
On Wed, Feb 4, 2009 at 10:55 AM, Ian Fiske <ianfiske at gmail.com> wrote:
> Thanks for the suggestion, Hadley. I tried:
>
> stat_smooth(fill=alpha("grey",1))
>
> and got the same problem. The shaded band shows up in the graphics
> windows, but the only file format the keeps the confidence band is
> PDF.
>
> Am I doing this correctly?
Oops, I should have been more clear. You want:
+ stat_smooth(alpha = 1)
Hadley
--
http://had.co.nz/
More information about the R-help
mailing list