[R] High resolution plots

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jul 12 09:52:28 CEST 2005


Please read carefully what `resolution' means for a png() device (and a 
PNG file).  It is a hint to the viewer in the file header (often ignored), 
as described in the R help file.

On Tue, 12 Jul 2005, Knut Krueger wrote:

> Is there any possibility to get high resolution plots in a windows xp
> system?
> I tried it with the device function png(filename =
> "c:/r/highresplot%d.png",pointsize=12, res=900)
> but when I try to set: width = 480, height = 480 or   pointsize = 12,
> the text is not scaled in the same way as the plots.

We have no idea what that means.  Those arguments are the defaults, and 
so make no difference to the actual plot.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list