points.lpp | R Documentation |
For a point pattern on a linear network, this function draws the coordinates of the points only, on the existing plot display.
## S3 method for class 'lpp'
points(x, ...)
x |
A point pattern on a linear network (object of class |
... |
Additional arguments passed to |
This is a method for the generic function
points
for the class "lpp"
of point patterns on a linear network.
If x
is a point pattern on a linear network, then
points(x)
plots the spatial coordinates of the points only,
on the existing plot display,
without plotting the underlying network.
It is an error to call this function if a plot has not yet been
initialised.
The spatial coordinates are extracted and passed to
points.default
along with any extra arguments.
Arguments controlling the colours and the plot symbols are interpreted
by points.default
. For example, if the
argument col
is a vector, then the i
th point is drawn
in the colour col[i]
.
Null.
The more usual way to plot the points is using plot.lpp
.
For example plot(x)
would plot both the points and the
underlying network, while plot(x, add=TRUE)
would plot only the
points. The interpretation of arguments controlling the colours and
plot symbols is different here: they determine a symbol map, as explained
in the help for plot.ppp
.
.
plot.lpp
, points.default
plot(Frame(spiders), main="Spiders on a Brick Wall")
points(spiders)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.