[R] image quality of plot inserted into PowerPoint

Scionforbai scionforbai at gmail.com
Thu Oct 18 16:32:46 CEST 2007


> Any suggestions?

When generating a bitmap (png is then the best solution) you can
control the resolution with "width" and "height" parameters (in
pixels):

png("myimage.png",width=1800,height=1800)

Then you just need to raster yor graph in an adequate resolution (more
pixels means bigger file, of course).

But I think the best strategy overall would be to plot in a vectorial
format such as pdf or eps, which are not dependent from the resolution
(although you should provide the *dimension* of the plot in inches,
with the same criteria).



More information about the R-help mailing list