"onearrow"
."plot"(x, ..., add = FALSE, main = "", retract = 0.05, headfraction = 0.25, headangle = 12, headnick = 0.1, col.head = NA, lwd.head = lwd, lwd = 1, col = 1, zap = FALSE, zapfraction = 0.07, pch = 1, cex = 1, do.plot = TRUE, do.points = FALSE, show.all = !add)
"onearrow"
to be plotted.
This object is created by the command onearrow
.
segments
to control the appearance of the line.
add=TRUE
) or to start a new plot
(add=FALSE
).
do.points=TRUE
.
"owin"
) enclosing the plotted graphics.
x
should be an object of class "onearrow"
created by the command onearrow
.
onearrow
,
yardstick
oa <- onearrow(cells[c(1, 42)])
plot(oa)
plot(oa, zap=TRUE, do.points=TRUE, col.head="pink", col="red")
Run the code above in your browser using DataLab