[R] grid.image(), pckg grid
Paul Murrell
p.murrell at auckland.ac.nz
Thu Jan 28 20:24:18 CET 2010
Hi
Markus Loecher wrote:
> While I am very happy with and awed by the grid package and its basic
> plotting primitives such as grid.points, grid.lines, etc, I was wondering
> whether the equivalent of a grid.image() function exists ?
No. But a simple implementation based on grid.rect() is not too hard
(e.g., see
http://www.stat.auckland.ac.nz/~paul/RGraphics/interactgrid-imagefun.R)
Also, the next version of R will include a grid.raster() function, which
will provide another way to draw a matrix of colour values.
Paul
> Any pointer would be helpful.
>
> Thanks !
>
> Markus
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/
More information about the R-help
mailing list