[R] Graphical output format

Stats Wolf stats.wolf at gmail.com
Thu May 14 06:47:10 CEST 2009


Dear colleagues,

Saving a plot with pdf gives a very nice result:

pdf("myplot.pdf")
par(font=1,family='serif')
plot(pressure)
dev.off()

Doing the very same with other formats (png, jpeg, tiff) gives far
worse results. Is there anything to do to make a plot in some other
format than pdf look like the pdf? Hardly any journal accepts pdf
files for figures, and most do accept png and jpeg -- so no matter
what I think about this, I must follow this rule. What can I do, then?

I am using R 2.9.0 for Windows XP.

Many thanks in advance,
Wolf




More information about the R-help mailing list