[R] ggplot: problem with fill option in stat_smooth()
Ian Fiske
ianfiske at gmail.com
Wed Feb 4 21:34:27 CET 2009
Thanks. That fixed it. But I should've been careful about what I
asked for. Now the graphs are basically unusable without transparency
because the bands overlap so much. I'm still looking for a way to get
transparency into Word without resorting to raster graphics.
On Wed, Feb 4, 2009 at 12:55 PM, hadley wickham <h.wickham at gmail.com> wrote:
> 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