Hi Stephane, The problem is that the windows graphics device doesn't support transparent colours. You can get around this in two ways:
* export to a device that does support transparency (eg. pdf) * use a solid fill colour : + stat_smooth(method="lm", fill="grey50") Hadley On 7/3/07, Stephane Cruveiller <[EMAIL PROTECTED]> wrote: > Dear R-Users, > > I recently gave a try to the nice package ggplot2. Everything went > well until I tried to add a smoother (using lm method for instance). > On the graphic device the regression line is displayed but not confidence > intervals as it should be (at least on ggplot website). I tried to do > the job on > both MS winXP and Linux i586: same result. Did anyone encountered this > problem? Did I miss something? > > > My R version is 2.4.1. > > > > Thanks, > > Stéphane. > > > -- > ========================================================== > Stephane CRUVEILLER Ph. D. > Genoscope - Centre National de Sequencage > Atelier de Genomique Comparative > 2, Rue Gaston Cremieux CP 5706 > 91057 Evry Cedex - France > Phone: +33 (0)1 60 87 84 58 > Fax: +33 (0)1 60 87 25 14 > EMails: [EMAIL PROTECTED] ,[EMAIL PROTECTED] > =========================================================== > > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.