Learn R Programming

Momocs (version 0.2-03)

panel(Coo): Displays a one-page plot of a Coo-object.

Description

panel(Coo) displays a one-page plot of a Coo-object.

Usage

panel(Coo, cols, borders, names=NULL, ...)

Arguments

Coo
The Coo object to plot.
cols
A vector of colors for drawing the outlines. Either a single value or of length exactly equals to the number of coordinates.
borders
A vector of colors for drawing the borders. Either a single value or of length exactly equals to the number of coordinates.
names
logical. Whether to display names.
...
Additional arguments to be passed to coo.list.panel.

Value

  • No returned value.

See Also

coo.list.panel is behind the scene. See also stack, diapo.

Examples

Run this code
data(mosquito)
panel(mosquito, borders="grey20", col="grey90")

data(hearts)
panel(hearts, cols=rep(col.summer(8), each=30), names=TRUE)

Run the code above in your browser using DataLab