Learn R Programming

plotrix (version 3.8-4)

p2p_arrows: Draw arrows between points

Description

Displays arrows on an existing plot between specified points.

Usage

p2p_arrows(x1,y1,x2,y2,space=0.05,col=par("fg"),...)

Value

nil

Arguments

x1

Starting x positions for the labels.

y1

Starting y positions for the labels.

x2

Ending x positions for the labels.

y2

Ending y positions for the labels.

space

The proportion of the distance between the points to leave as space before and after the arrow.

col

Color(s) for the arrows.

...

Extra arguments passed to arrows.

Author

Jim Lemon

Details

p2p_arrows displays arrows on a plot between one or more pairs of specified points.

See Also