Learn R Programming

caroline (version 0.5.0)

labsegs: Buffered Segments for Point Labels

Description

This function is a wrapper for segments which trigonometrically shortens the lines that are near the "1" end so as not to cluter or overplot the text label it is attached to.

Usage

labsegs(x0, y0, x1, y1, buf=.3, ...)

Arguments

x0
initial x point coordinate
y0
initial x point coordinate
x1
initial x point coordinate
y1
initial x point coordinate
buf
the buffer between the label at point "1" and the actual segment
...
other parameters passed to segments.

See Also

segments