par: Set styled parameters for base graphics

Description Usage Arguments Examples

View source: R/RcssWrappers.R

Description

This is a wrapper for R's par function. See R's documentation for graphics::par for further details.

Usage

1
par(Rcss = "default", Rcssclass = NULL, ...)

Arguments

Rcss

style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle()

Rcssclass

character, style class

...

Further parameters, see documentation of graphics::par

Examples

1
2
3
4
5
6
# set properties for plot
par(ps=8, mar=c(3, 8, 3, 1))
plot(c(0, 1), c(0, 1), type="n", frame=FALSE)
text(rep(0.5, 2), c(0.2, 0.5), c("abc", "def"))
par(ps=12)
text(0.5, 0.8, "xyz")

tkonopka/Rcssplot documentation built on Jan. 21, 2021, 11:36 p.m.