Arrow {DescToolsAddIns}R Documentation

Insert an Arrow Into a Plot

Description

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

Usage

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

library(DescTools)
Canvas()
Arrow(1, 1, 0, 0)

[Package DescToolsAddIns version 1.11 Index]