Arrow: Insert an Arrow Into a Plot

Description Usage Arguments Value Author(s) See Also Examples

View source: R/DescTools.r

Description

Places an arrow into a plot. Two additional arrow heads are implemented.

Usage

1
2
Arrow(x0, y0, x1, y1, col = par("bg"), border = par("fg"), head = 1,
      cex = 1, lwd = 1, lty = 1)

Arguments

x0, y0

coordinates of points from which to draw.

x1, y1

coordinates of points to which to draw. At least one must the supplied.

col

the color of the line and background color of the arrow head.

border

color of the arrow head.

head

type of head, can be one out of 1:3.

cex

extension factor for the arrow head.

lwd

line width

lty

line type

Value

Nothing returned

Author(s)

Andri Signorell <andri@signorell.net>

See Also

arrows

Examples

1
2
Canvas()
Arrow(1, 1, 0, 0)

AndriSignorell/DescTools documentation built on April 8, 2021, 5:51 a.m.