p.arrows: Arrows with Solid Heads

View source: R/p.arrows.R

p.arrowsR Documentation

Arrows with Solid Heads

Description

Draw arrows with solid heads.

Usage

p.arrows(x1, y1, x2, y2, size = 1, width = (sqrt(5) - 1)/4/cin, fill = 2,
  border = NULL, ...)

Arguments

x1

x start coordinates.

y1

y start coordinates.

x2

x end coordinates.

y2

y end coordinates.

size

arrowhead size.

width

arrowhead width.

fill

arrowhead fill color.

border

arrowhead border color.

...

passed to segments.

Value

NULL, but arrowhead is drawn.

Note

Borrowed from package sfsmisc, adding border argument.


arnima-github/arni documentation built on Oct. 28, 2023, 6:18 p.m.