[R] Viewport parameters

Paul Murrell p.murrell at auckland.ac.nz
Sun Jul 11 23:09:06 CEST 2004


Simon Woodhead wrote:
> Hello all,
> In the Grid addon package from Paul Murrell is there a way of finding 
> the parameter settings for the viewport you are in? I understand in 
> Lattice there is a function trellis.get.par(), is there something 
> similar for Grid?

If you're using R 1.9.something, then get.gpar() should do the trick.

Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz

More information about the R-help mailing list