plot.psp {spatstat} | R Documentation |
Plot a two-dimensional line segment pattern
## S3 method for class 'psp': plot(x, ..., add=FALSE)
x |
The line segment pattern to be plotted.
An object of class "psp" ,
or data which can be converted into
this format by as.psp() .
|
... |
extra arguments that will be passed to the plotting functions
segments (to plot the segments)
and
plot.owin (to plot the observation window).
|
add |
Logical. If TRUE , the current plot is not erased;
the segments are plotted on top of the
current plot, and the window is not plotted.
|
This is the plot
method for
line segment pattern datasets (of class "psp"
,
see psp.object
).
It plots both the observation window x$window
and the line segments themselves.
Plotting of the window x$window
is performed by
plot.owin
. This plot may be modified
through the ...
arguments.
Plotting of the points themselves is performed
by the standard R function segments
.
Its plotting behaviour may also be modified through the ...
arguments.
NULL
Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner rolf@math.unb.ca http://www.math.unb.ca/~rolf
psp.object
,
plot
,
par
,
plot.owin
,
symbols
a <- psp(runif(20), runif(20), runif(20), runif(20), window=owin()) plot(a) plot(a, main="My title") plot(a, col="blue") plot(a, lwd=3)