resetGraph | R Documentation |
Reset par()
to default values to ensure that a new plot
utilizes a full figure region. This function helps manage the device
surface, especially after previous plotting has altered it.
resetGraph(reset.mf=TRUE)
reset.mf |
if |
This function resets par()
to its default values.
If reset.mf=TRUE
, it also clears the graphics device with
frame()
. Otherwise, the values of mfrow
, mfcol
,
and mfg
are preserved, and graphics continues as usual in
the current plot. Use resetGraph
only before a high level
command that would routinely advance to a new frame.
invisible return of the reset value par()
Jon T. Schnute, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.