[R] Graphical output format
Frank E Harrell Jr
f.harrell at vanderbilt.edu
Thu May 14 13:56:28 CEST 2009
Stats Wolf wrote:
> 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?
What journals are you looking at? I see the opposite in medicine,
epidemiology, and biostatistics, with the majority of journals
requesting pdf or eps (which can easily be created by R or by running a
simple conversion from pdf).
Frank
>
> I am using R 2.9.0 for Windows XP.
>
> Many thanks in advance,
> Wolf
>
--
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University
More information about the R-help
mailing list