
trellis.par.get/set
. NOT S-compatiblelset(theme, warn = TRUE)
col.whitebg()
trellis.par.get()
. Each component must itself be
a list, with one or more of the appropriate components (trellis.par.get
is called when no graphics device is openlset
essentially does the same thing as trellis.par.set
,
but is different in that it allows setting more than one parameter at
a time, and also that each component need have only the components
that need to be changed.
This function is expected to be used mostly in conjunction with
functions that return `themes', i.e., lists which when supplied to
lset
change the overall look and feel of the display. col.whitebg
is one such function, which returns a list which
when supplied to lset
changes the background to transparent and
the other colors to something suitable. Contributions of more such
`themes' are welcome.
lattice.theme
, show.settings
,
Lattice
show.settings(col.whitebg())
# The following reproduces Splus Unix black and white pch:
#lset(list(superpose.symbol=list(pch=c("o","+",">","s","w","#","\{"))))
Run the code above in your browser using DataLab