Learn R Programming

Momocs (version 1.1.6)

coo_draw: Adds a shape to the current plot

Description

coo_draw is simply a coo_plot with plot.new=FALSE, ie that adds a shape on the active plot.

Usage

coo_draw(coo, ...)

Arguments

coo
a list or a matrix of coordinates.
...
optional parameters for coo_plot

See Also

Other plotting functions: Ntable, conf_ell, coo_arrows, coo_listpanel, coo_lolli, coo_plot, coo_ruban, ldk_chull, ldk_confell, ldk_contour, ldk_labels, ldk_links, plot_devsegments

Examples

Run this code
data(bot)
b1 <- bot[4]
b2 <- bot[5]
coo_plot(b1)
coo_draw(b2, border='red') # all coo_plot arguments will work for coo_draw

Run the code above in your browser using DataLab