| plot.msr {spatstat} | R Documentation |
Plot a signed measure or vector-valued measure.
## S3 method for class 'msr'
plot(x, ..., add=FALSE,
how=c("image", "contour", "imagecontour"),
do.plot=TRUE)
x |
The signed or vector measure to be plotted.
An object of class |
... |
Extra arguments passed to |
add |
Logical flag; if |
how |
String indicating how to display the continuous density component. |
do.plot |
Logical value determining whether to actually perform the plotting. |
This is the plot method for the class "msr".
The continuous density component of x is interpolated
from the existing data by Smooth.ppp,
and then displayed as a colour image by plot.im.
The discrete atomic component of x is then superimposed on this
image by plotting the atoms as circles (for positive mass)
or squares (for negative mass) by plot.ppp.
To smooth both the discrete and continuous components,
use Smooth.msr.
Use the argument clipwin to restrict the plot to a subset
of the full data.
(Invisible) colour map (object of class "colourmap") for the
colour image.
Adrian Baddeley Adrian.Baddeley@uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz
msr,
Smooth.ppp,
Smooth.msr,
plot.im,
plot.ppp
example(msr) plot(rp) plot(rs) plot(rs, how="contour")