p2p_arrows: Draw arrows between points

View source: R/p2p_arrows.R

p2p_arrowsR Documentation

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"),...)

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⁠’.

Details

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

Value

nil

Author(s)

Jim Lemon

See Also

arrows


plotrix documentation built on Nov. 10, 2023, 5:07 p.m.