Plot a List of Things

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

hplot, spatial
## S3 method for class 'listof':
contour(x, \dots)
  ## S3 method for class 'listof':
image(x, \dots, equal.ribbon=FALSE)
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.
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

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


  • Null.

See Also


  • contour.listof
  • image.listof
# Multitype point pattern
 contour(D <- density(split(amacrine)))
 image(D, equal.ribbon=TRUE, main="", col.ticks="red", col.axis="red")
Documentation reproduced from package spatstat, version 1.36-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.