Re: [R] grid.image(), pckg grid

2010-01-28 Thread Paul Murrell

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@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
p...@stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/

__
R-help@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.


[R] grid.image(), pckg grid

2010-01-28 Thread Markus Loecher
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 ?

Any pointer would be helpful.

Thanks !

Markus

[[alternative HTML version deleted]]

__
R-help@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.