[R] image() with each grid point equal to one pixel?

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jun 15 09:21:22 CEST 2001

On 15 Jun 2001, [iso-8859-1] Bjørn-Helge Mevik wrote:

> Is it possible to specify that each grid point in an image() plot should
> occupy exactly one pixel on the screen?
> (R 1.2.0; Linux (RedHat 6.2); Intel (Pentium))

Not using R graphics.  You can resize the X11 device window, and
the graphics will resize.  The internal code for image() plots polygons
for each cell (`grid point'?).

If you look at the number of bugs fixed since 1.2.0 you might want to

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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list