Draw arrows between points
p2p_arrows.Rd
Displays arrows on an existing plot between specified points.
Usage
p2p_arrows(x1,y1,x2,y2,space=0.05,col=par("fg"),...)
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.