powered by
Draws arrows, like the arrows function, but with “nice” filled arrow heads.
arrows
p.arrows(x1, y1, x2, y2, size = 1, width, fill = 2, ...)
coordinates of points from which to draw.
coordinates of points to which to draw.
symbol size as a fraction of a character height; default 1.
width of the arrow head; defaults to ....
color for filling the arrow head.
further arguments passed to segments().
segments()
Andreas Ruckstuhl, 19 May 1994; (cosmetic by MM).
arrows.
example(arrows, echo = FALSE) #-> x, y, s plot(x,y, main="p.arrows(.)") p.arrows(x[s], y[s], x[s+1], y[s+1], col= 1:3, fill = "dark blue")
Run the code above in your browser using DataLab