plmframes {plgraphics} | R Documentation |
This is a short-cut to set some graphical parameters
plmframes(mfrow = NULL, mfcol = NULL, mft = NULL, nrow = NULL, ncol = NULL, byrow = TRUE, oma = NULL, mar = NULL, mgp = NULL, ...)
mfrow, mfcol |
number of rows and columns of panels. The default is 1 for both, which will reset the subdivision of the plotting page. |
mft |
total number of panels, to be split into |
nrow, ncol |
maximum number of rows and columns on one page |
byrow |
if TRUE, the panels will be generated by rows, otherwise, by columns |
mar |
plot margins.
Any |
oma |
outer plot margins. They will be widened if necessary to accomodate axis annotations. |
mgp, ... |
further graphical parameters passed to
|
The function calls par
. Its purpose is to simplify a call like
par(mfrow=c(3,4))
to plmframes(3,4)
and to set some
defaults differently from par
.
A named list
containing the old values of the parameters,
as for par
.
Werner A. Stahel, ETH Zurich
plmframes(2,3) plmframes(mft=15) ## will split the plotting area into >= 15 panels, plmframes() ## reset to 1 panel