Description Usage Value Author(s) See Also Examples
This function returns a list of the graphical parameters specified as its
function arguments, which can then be set via a call to par
. Default
function parameters are my default plotting parameters; different or
additional parameters can be specified via ...
. This wrapper function
provides a convenient way to set new graphical parameters and save their old
values for later restoring at the same time; see the example. See
?par
for information on the individual parameters.
1 2 3 | LoadGraphicsPar(mar = c(5, 5, 0.5, 0.5), lwd = 1, las = 1,
font.lab = 1, font.axis = 1, cex.main = 1.5, cex.lab = 1.5,
cex.axis = 1.25, ...)
|
A list of graphical parameters to be used with par()
;
i.e. per default:
mar = c(5, 5, 0.5, 0.5)
lwd = 1
las = 1
font.lab = 1
font.axis = 1
cex.main = 1.5
cex.lab = 1.5
cex.axis = 1.25
Thomas Münch
1 2 3 4 | op <- par(LoadGraphicsPar())
plot(1 : 10, main = "Example plot",
xlab = "X title", ylab = "Y title", type = "l")
par(op)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.