Learn R Programming

Momocs (version 0.2-03)

stack(Coo): Plots all the outlines from a Coo on the same graph.

Description

stack(Coo) plots all the outlines from a Coo on the same graph with graphical options. Note that you can also use plot(Coo) with the very same arguments.

Usage

stack(x, cols, borders,
           ldk=TRUE, ldk.pch=3, ldk.col="red", ldk.cex=1, ...)

Arguments

x
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.
ldk
logical. Whether to display landmarks (if any).
ldk.pch
A pch for these landmarks.
ldk.col
A color for these landmarks.
ldk.cex
A cex for these landmarks.
...
Additional arguments to be passed to coo.draw.

Value

  • No returned value.

See Also

stack, diapo.

Examples

Run this code
data(mosquito)
stack(mosquito, borders="#1A1A1A22", first.point=FALSE)

data(hearts)
stack(hearts, borders="#1A1A1A22", ldk=FALSE)
stack(hearts, borders="#1A1A1A22", ldk=TRUE, ldk.col="#1A1A1A55")
stack(hearts, borders="#1A1A1A22", ldk=TRUE, ldk.col=col.summer(4), ldk.pch=20)

Run the code above in your browser using DataLab