Publication quality graphics in R
I'd like to hear from the list, how folks specify and export presentation quality and publication quality graphics with R. I've had problems when exporting graphics using the copy-to-clipboard option (both bitmap and metafile) and also when saving them as jpgs. They almost always seem to look a little funny (e.g. pixelation, symbols coming out distorted etc.). The only option that I've had much success with is saving them as pdf's, but that format is less than ideal when trying to incorporate a graphic into another document (e.g. Word or Powerpoint), and is often not the format requested by journals.
I'd strongly recommend making the figures by writing them to files rather than copying and pasting from the graphics device window. So, for example, when you want a figure as a pdf you'd use "pdf(filename, options)" to open the device with the output settings you desire, then do all your plotting commands, then close the device with dev.off(). type ?pdf at the prompt; other devices are described in ?png You can run the plots in the device window and then save as..., but you'll get subtle (and sometimes not-so-subtle) differences between the window display and the output through a device command. Once you get what you like, then fine-tune the device options to produce the final file to be imported to your text. The format you use will vary depending on what you're putting it into. I've had the most luck with PDF images rolled into LaTeX PDFs (via LyX -- www.lyx.org), although I've heard that EPS is even better for some things. JPGs never worked well for me in anything. I gave up on M$ Office a few years ago. Not much looks good in there. ----- David Hewitt Research Fishery Biologist USGS Klamath Falls Field Station (USA)
View this message in context: http://www.nabble.com/Publication-quality-graphics-in-R-tp17567736p17567948.html Sent from the r-sig-ecology mailing list archive at Nabble.com.