Re: [R] ggplot problem

2017-05-24 Thread Thierry Onkelinx
Dear Greg, Make sure that your x variable (Betas) is categorical. That is required for geom_boxplot(). And please do read the posting guide. Best regards, ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / t

Re: [R] ggplot: Problem with legend background

2009-12-11 Thread hadley wickham
Hi Luc, You want: legend.title=theme_text(size=20, hjust = 0) So the legend title is left aligned, not centred. Hadley On Fri, Dec 11, 2009 at 9:26 AM, MUHC_Research wrote: > > Dear R-users, > > I am preparing graphs for an upcoming article using the different functions > of the ggplot2 pack

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 stat_smooth(

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