powered by
arrows
p.arrows(x1, y1, x2, y2, size = 1, width, fill = 2, ...)
segments()
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