trellis.par.get(name)
trellis.par.set(name, value)
trellis.settings
names(trellis.settings)
.trellis.par.get
returns a list giving parameters for that
component .trellis.settings
(type
print(trellis.settings)
to see the current value). There are a
couple of settings defined in the package, which are set when
trellis.device
is called. The functions trellis.par.*
are meant to be interfaces to this variable. trellis.par.get
is
usually used inside trellis functions to get graphical parameters
before plotting. This enables device customization as well as
modifications by users through the trellis.par.set
interface. Typical usage is: add.line <- trellis.par.get("add.line")
add.line$col <- "red"
add.line <- trellis.par.set("add.line", add.line)
trellis.device
, trellis.settings
,
Lattice