plot.layered

0th

Percentile

Layered Plot

Generates a layered plot. The plot method for objects of class "layered".

Keywords
hplot, spatial
Usage
## S3 method for class 'layered':
plot(x, ..., which = NULL, plotargs = NULL)
Arguments
x
An object of class "layered" created by the function layered.
...
Arguments to be passed to the plot method for every layer.
which
Subset index specifying which layers should be plotted.
plotargs
Arguments to be passed to the plot methods for individual layers. A list of lists of arguments of the form name=value.
Details

Layering is a simple mechanism for controlling a high-level plot that is composed of several successive plots, for example, a background and a foreground plot. The layering mechanism makes it easier to plot, to switch on or off the plotting of each individual layer, and to control the plotting arguments that are passed to each layer. The layers of data to be plotted should first be converted into a single object of class "layered" using the function layered. Then the layers can be plotted using the method plot.layered.

Value

  • Null.

See Also

layered, plot.

Aliases
  • plot.layered
Examples
data(cells)
   D <- distmap(cells)
   L <- layered(D, cells)
   plot(L)
   plot(L, which = 2)
   plot(L, plotargs=list(list(ribbon=FALSE), list(pch=3, cols="white")))
Documentation reproduced from package spatstat, version 1.25-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.