Plot a List of Images

Plots an array of pixel images.

hplot, spatial
## S3 method for class 'imlist':
plot(x, \dots, equal.ribbon=FALSE, ribmar=NULL)

## S3 method for class 'imlist': image(x, \dots, equal.ribbon=FALSE, ribmar=NULL)

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

An object of the class "imlist" representing a list of pixel images. Alternatively x may belong to the outdated class "listof".
Arguments passed to plot.solist to control the spatial arrangement of panels, and arguments passed to to control the display of each pane
Logical. If TRUE, the colour maps of all the images will be the same. If FALSE, the colour map of each image is adjusted to the range of values of that image.
Numeric vector of length 4 specifying the margins around the colour ribbon, if equal.ribbon=TRUE. Entries in the vector give the margin at the bottom, left, top, and right respectively, as a multiple of the height of a line of tex

These are methods for the generic plot commands plot and image for the class "imlist". They are currently identical. An object of class "imlist" represents a list of pixel images. (The outdated class "listof" is also handled.)

Each entry in the list x will be displayed as a pixel image, in an array of panels laid out on the same graphics display, using plot.solist. Individual panels are plotted by

If equal.ribbon=FALSE (the default), 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


  • plot.imlist
  • image.imlist
  • image.listof
D <- density(split(amacrine))
 image(D, equal.ribbon=TRUE, main="", col.ticks="red", col.axis="red")
Documentation reproduced from package spatstat, version 1.41-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.