Plot a List of Things
Plots a list of things, either as an array of contour plots, or as an array of images.
## 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.listofto 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
These are methods for the generic plot commands
image, for the class
The commands will display each object in the list
either as a contour plot
contour.listof) or a pixel image plot (
with the displays laid out in a grid.
plot.listof for more information.
For the image plot, if
the images are rendered using different colour maps,
which are displayed as colour ribbons beside each image.
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
# Multitype point pattern contour(D <- density(split(amacrine))) image(D, equal.ribbon=TRUE, main="", col.ticks="red", col.axis="red")