Learn R Programming

Momocs (version 1.4.1)

ldk_labels: Add landmarks labels

Description

Add landmarks labels

Usage

ldk_labels(ldk, d = 0.05, cex = 2/3, ...)

Value

a drawing on the last plot

Arguments

ldk

a matrix of (x; y) coordinates: where to plot the labels

d

how far from the coordinates, on a (centroid-landmark) segment

cex

the cex for the label

...

additional parameters to fed text

See Also

Other plotting functions: coo_arrows(), coo_draw(), coo_listpanel(), coo_lolli(), coo_plot(), coo_ruban(), ldk_chull(), ldk_confell(), ldk_contour(), ldk_links(), plot_devsegments(), plot_table()

Other ldk plotters: ldk_chull(), ldk_confell(), ldk_contour(), ldk_links()

Examples

Run this code
coo_plot(wings[1])
ldk_labels(wings[1])
# closer and smaller
coo_plot(wings[1])
ldk_labels(wings[1], d=0.05, cex=0.5)

Run the code above in your browser using DataLab