Re: [R] ggplot: problem with fill option in stat_smooth()

2009-02-04 Thread Ian Fiske
Thanks for the suggestion, Etienne. It looks like this might be the best approach after all, using a high resolution png exported from Inkscape. I'm impressed by its flawless pdf import! -ian On Wed, Feb 4, 2009 at 11:15 AM, Etienne Bellemare Racine wrote: > Maybe you could try to open the p

Re: [R] ggplot: problem with fill option in stat_smooth()

2009-02-04 Thread Ian Fiske
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

Re: [R] ggplot: problem with fill option in stat_smooth()

2009-02-04 Thread hadley wickham
On Wed, Feb 4, 2009 at 10:55 AM, Ian Fiske 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

Re: [R] ggplot: problem with fill option in stat_smooth()

2009-02-04 Thread Ian Fiske
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? -ian On Wed, Feb 4, 2009 at 11:07 AM, hadley wic

Re: [R] ggplot: problem with fill option in stat_smooth()

2009-02-04 Thread Etienne B. Racine
Maybe you could try to open the pdf in Inkscape http://www.inkscape.org/ and export it as a .emf or .png ? Etienne Ian Fiske wrote: > > Hi all, > > I am using ggplot2 and continuing to find it very useful and pretty. > However, I am trying to create some graphics for publication that would

Re: [R] ggplot: problem with fill option in stat_smooth()

2009-02-04 Thread Etienne Bellemare Racine
Maybe you could try to open the pdf in Inkscape http://www.inkscape.org/ and export it as a .emf or .png ? Etienne Ian Fiske a écrit : > Hi all, > > I am using ggplot2 and continuing to find it very useful and pretty. > However, I am trying to create some graphics for publication that would be

Re: [R] ggplot: problem with fill option in stat_smooth()

2009-02-04 Thread Felipe Carrillo
Ian: It would work if you copy it as a bitmap. Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish & Wildlife Service California, USA --- On Wed, 2/4/09, Ian Fiske wrote: > From: Ian Fiske > Subject: [R] ggplot: problem with fill option in s

Re: [R] ggplot: problem with fill option in stat_smooth()

2009-02-04 Thread hadley wickham
On Wed, Feb 4, 2009 at 9:12 AM, Ian Fiske wrote: > > Hi all, > > I am using ggplot2 and continuing to find it very useful and pretty. > However, I am trying to create some graphics for publication that would be > included in an MS Word document (not my choice!) in Windows Vista. > > The problem is

[R] ggplot: problem with fill option in stat_smooth()

2009-02-04 Thread Ian Fiske
Hi all, I am using ggplot2 and continuing to find it very useful and pretty. However, I am trying to create some graphics for publication that would be included in an MS Word document (not my choice!) in Windows Vista. The problem is that I want to use stat_smooth() to add an fitted linear mode