plot.linim {spatstat} | R Documentation |
Given a pixel image on a linear network, the pixel values are displayed either as colours or as line widths.
## S3 method for class 'linim' plot(x, ..., style = c("colour", "width"), scale, adjust = 1)
x |
The pixel image to be plotted. An object of class |
... |
Extra graphical parameters, passed to |
style |
Character string specifying the type of plot. See Details. |
scale |
Physical scale factor for representing the pixel values as line widths. |
adjust |
Adjustment factor for the default scale. |
This is the plot
method for objects
of class "linim"
. Such an object represents
a pixel image defined on a linear network.
If style="colour"
(the default) then
the pixel values of x
are plotted as colours,
using plot.im
.
If style="width"
then
the pixel values of x
are used to determine the widths of
thick lines centred on the line segments of the linear network.
Null.
Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/
Ang, Q.W., Baddeley, A. and Nair, G. (2012) Geometrically corrected second-order analysis of events on a linear network, with applications to ecology and criminology. To appear in Scandinavian Journal of Statistics.
example(linim) plot(X) plot(X, style="width")