These functions can be used to align base plotting regions
with the current grid
viewport. This can be used to draw base plots within a grid viewport.
Usage
gridOMI()
gridFIG()
gridPLT()
gridPAR()
Details
For this to be useful, you will have to make liberal use of
par(new=TRUE) to prevent base from moving to a new page.
With care, these can even be used to draw multiple base plots within
a grid viewport (see the examples below), but in general, base
plotting functions that draw multiple panels (e.g., coplot)
should not be
expected to work.
Value
gridOMI returns a value that can be used to set the
par(omi) parameter.
gridFIG returns a value that can be used to set the
par(fig) parameter.
gridPLT returns a value that can be used to set the
par(plt) parameter.
gridPAR returns a value that can be used to set
some graphical parameters (currently, lwd, lty,
and col).