Learn R Programming

spatstat.geom (version 3.6-0)

plot.onearrow: Plot an Arrow

Description

Plots an object of class "onearrow".

Usage

# S3 method for 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)

Arguments

Value

A window (class "owin") enclosing the plotted graphics.

Details

The argument x should be an object of class "onearrow" created by the command onearrow.

See Also

onearrow, yardstick

Examples

Run this code
  oa <- onearrow(cells[c(1, 42)])
  oa
  plot(oa)
  plot(oa, zap=TRUE, do.points=TRUE, col.head="pink", col="red")

Run the code above in your browser using DataLab