grid.current.viewport {grid} | R Documentation |
Returns the viewport that Grid is going to draw into.
current.viewport(vp=NULL)
vp |
A Grid viewport object. |
This function has two modes:
vp
is not specified, this function
returns the default Grid viewport; this is the
viewport last set by grid.set.viewport
.
vp
, this function
returns that value if it is a valid viewport. Otherwise it
returns the default Grid viewport.A Grid viewport object.
Paul Murrell