Hi! I have browsed the help archives but did not find anything on the subject: How to make publication quality graphs with R best? Is there some document about that topic out there? The problem is that the graphs look nice on the screen but when printed in black and white every color apart from black doesn't look very nice. Is there some guideline how to set color palettes and or fill patterns for charts? Thank you very much for considering my question in advance. Best, Werner
Please read the posting guide. As a minimum, you'll need to specify your OS and R version plus probably other particulars about what form the output must be in, etc. I am surprised that you were unable to find anything in the archives, as this is a frequent discussion topic. -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA "The business of the statistician is to catalyze the scientific learning process." - George E. P. Box> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Werner > Wernersen > Sent: Monday, February 28, 2005 3:27 PM > To: r-help at stat.math.ethz.ch > Subject: [R] Journal Quality R Graphs? > > Hi! > > I have browsed the help archives but did not find > anything on the subject: How > to make publication quality graphs with R best? > Is there some document about that topic out there? The > problem is that the > graphs look nice on the screen but when printed in > black and white every color > apart from black doesn't look very nice. Is there some > guideline how to set > color palettes and or fill patterns for charts? > > Thank you very much for considering my question in > advance. > > Best, > Werner > > ______________________________________________ > R-help at 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 >
Searching for "graph publication" on http://maths.newcastle.edu.au/~rking/R/ gave me the following hit : http://tolstoy.newcastle.edu.au/R/help/04/03/0202.html which suggests postscript(). Have you tried printing other documents in black and white on the same printer or tried different printers for the same R graph. This will hopefully eliminate printer as a possible culprit. Dying printer toners sometimes makes the graph look worse than it actually is. Regards, Adai On Tue, 2005-03-01 at 00:27 +0100, Werner Wernersen wrote:> Hi! > > I have browsed the help archives but did not find > anything on the subject: How > to make publication quality graphs with R best? > Is there some document about that topic out there? The > problem is that the > graphs look nice on the screen but when printed in > black and white every color > apart from black doesn't look very nice. Is there some > guideline how to set > color palettes and or fill patterns for charts? > > Thank you very much for considering my question in > advance. > > Best, > Werner > > ______________________________________________ > R-help at 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 >
Werner Wernersen writes:> the graphs look nice on the screen but when printed in black and > white every color apart from black doesn't look very nice.My advice is: If you want a black-and-white or grayscale printout, don't plot in colors. -- Bj?rn-Helge Mevik
Thanks for your answer, Adai! Being a newbie, I finally tried a lot of things and wasted a stack of paper in order to get a black & white printer printable chart of good quality. My experiences are the following: * do never (!) use the alpha correction color settings for transparency if the graph is to be printed (alpha correction also works with few formats, e.g. PDF 1.4) * the library(gstat), bpy.colors() color palette prints nicely in grey * there is a small difference in output from saving the graphs to PS or PDF with PS looking slightly better * set the line width with par(lwd=) * set the line style with par(lty="solid") * in the print dialog before printing: check if the automatic scaling option is set After doing all of this, my chart looks rather acceptable now. The R version used was R 2.0.1 on win2k and printing was done on a HP LJ 4M Plus. Thanks again for your answers! Best, Werner Adaikalavan Ramasamy wrote:> Searching for "graph publication" on > http://maths.newcastle.edu.au/~rking/R/ gave me thefollowing hit :>http://tolstoy.newcastle.edu.au/R/help/04/03/0202.html which suggests> postscript(). > > Have you tried printing other documents in black andwhite on the same> printer or tried different printers for the same Rgraph. This will> hopefully eliminate printer as a possible culprit.Dying printer toners> sometimes makes the graph look worse than itactually is.> > > Regards, Adai > > > > > > On Tue, 2005-03-01 at 00:27 +0100, Werner Wernersenwrote:> >>Hi! >> >>I have browsed the help archives but did not find >>anything on the subject: How >>to make publication quality graphs with R best? >>Is there some document about that topic out there?The>>problem is that the >>graphs look nice on the screen but when printed in >>black and white every color >>apart from black doesn't look very nice. Is theresome>>guideline how to set >>color palettes and or fill patterns for charts? >> >>Thank you very much for considering my question in >>advance. >> >>Best, >> Werner >> >>______________________________________________ >>R-help at 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>> > > > >
Thanks for your answer, Adai! Being a newbie, I finally tried a lot of things and wasted a stack of paper in order to get a black & white printer printable chart of good quality. My experiences are the following: * do never (!) use the alpha correction color settings for transparency if the graph is to be printed (alpha correction also works with few formats, e.g. PDF 1.4) * the library(gstat), bpy.colors() color palette prints nicely in grey * there is a small difference in output from saving the graphs to PS or PDF with PS looking slightly better * set the line width with par(lwd=) * set the line style with par(lty=) * in the print dialog before printing: check if the automatic scaling option is set After doing all of this, my chart looks rather acceptable now. The R version used was R 2.0.1 on win2k and printing was done on a HP LJ 4M Plus. Thanks again for your answers! Best, Werner Adaikalavan Ramasamy wrote:> Searching for "graph publication" on > http://maths.newcastle.edu.au/~rking/R/ gave me thefollowing hit :>http://tolstoy.newcastle.edu.au/R/help/04/03/0202.html which suggests> postscript(). > > Have you tried printing other documents in black andwhite on the same> printer or tried different printers for the same Rgraph. This will> hopefully eliminate printer as a possible culprit.Dying printer toners> sometimes makes the graph look worse than itactually is.> > > Regards, Adai > > > > > > On Tue, 2005-03-01 at 00:27 +0100, Werner Wernersenwrote:> >>Hi! >> >>I have browsed the help archives but did not find >>anything on the subject: How >>to make publication quality graphs with R best? >>Is there some document about that topic out there?The>>problem is that the >>graphs look nice on the screen but when printed in >>black and white every color >>apart from black doesn't look very nice. Is theresome>>guideline how to set >>color palettes and or fill patterns for charts? >> >>Thank you very much for considering my question in >>advance. >> >>Best, >> Werner >> >>______________________________________________ >>R-help at 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>> > > > >