spatstat (version 1.36-0)

contour.listof: Plot a List of Things

Description

Plots a list of things, either as an array of contour plots, or as an array of images.

Usage

## S3 method for class 'listof':
contour(x, \dots)
  ## S3 method for class 'listof':
image(x, \dots, equal.ribbon=FALSE)

Arguments

x
An object of the class "listof". Essentially a list of objects.
...
Arguments passed to plot.listof to control the plot, and passed to the appropriate plot command for each element of the list.
equal.ribbon
Logical. If TRUE, the colour maps of all the images are the same. If FALSE, the colour map of each image is adjusted to the range of values of that image. Applies only when all the elements of x are p

Value

  • Null.

Details

These are methods for the generic plot commands contour and image, for the class "listof".

The commands will display each object in the list x, either as a contour plot (contour.listof) or a pixel image plot (image.listof), with the displays laid out in a grid. See plot.listof for more information.

For the image plot, if equal.ribbon=FALSE, the images are rendered using different colour maps, which are displayed as colour ribbons beside each image. If equal.ribbon=TRUE, the images are rendered using the same colour map, and a single colour ribbon will be displayed at the right side of the array. The colour maps and the placement of the colour ribbons are controlled by arguments ... passed to plot.im.

See Also

plot.listof, plot.im

Examples

Run this code
# Multitype point pattern
 contour(D <- density(split(amacrine)))
 image(D, equal.ribbon=TRUE, main="", col.ticks="red", col.axis="red")

Run the code above in your browser using DataCamp Workspace