"plot"(x, ..., plotcommand="image", equal.ribbon=FALSE, ribmar=NULL)
"image"(x, ..., equal.ribbon=FALSE, ribmar=NULL)
"image"(x, ..., equal.ribbon=FALSE, ribmar=NULL)
"imlist"
representing a list of pixel images.
Alternatively x
may belong to the outdated class "listof"
.
plot.solist
to control the
spatial arrangement of panels, and arguments passed to plot.im
to control the display of each panel.
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.
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 text.
plot.imlist
only.
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
plot.im
.
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 plot.im
.
plot.solist
,
plot.im
D <- density(split(amacrine))
image(D, equal.ribbon=TRUE, main="", col.ticks="red", col.axis="red")
Run the code above in your browser using DataLab