changelatticetheme: Change the 'lattice' theme used for 'adegraphics'

View source: R/parameter.R

changelatticethemeR Documentation

Change the lattice theme used for adegraphics

Description

This function allows to modify the default theme existing for adegraphics objects. The created theme also affects previously created objects.

Usage

changelatticetheme(...)

Arguments

...

lattice parameters, the same used in trellis.par.set and provided by trellis.par.get. If empty, reset the theme to the adegraphics one.

Note

The adegraphics theme removes all margins, sets a transparent background and grey regions.

A further development will be the creation of various themes for adegraphics.

Author(s)

Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray

See Also

trellis.par.get trellis.par.set show.settings

Examples

if(require(lattice, quietly = TRUE)) {
  show.settings()
  changelatticetheme(list(superpose.symbol = list(pch = c(21, 22, 35), cex = 1)))
  show.settings()
  show.settings()[1]
}

sdray/adegraphics documentation built on July 26, 2024, 1:25 a.m.