Learn R Programming

Momocs (version 1.2.9)

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: coo_arrows, coo_listpanel, coo_lolli, coo_plot, coo_ruban, ldk_chull, ldk_confell, ldk_contour, ldk_labels, ldk_links, plot_devsegments, plot_table

Examples

Run this code
# NOT RUN {
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