spatstat (version 1.21-4)

plot.msr: Plot a Signed or Vector-Valued Measure

Description

Plot a signed measure or vector-valued measure.

Usage

## S3 method for class 'msr':
plot(x, \dots)

Arguments

x
The signed or vector measure to be plotted. An object of class "msr" (see msr).
...
Extra arguments passed to smooth.ppp to control the interpolation of the continuous density component of x, or passed to plot.im

Value

  • none.

Details

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.

See Also

msr, smooth.msr, plot.im, plot.ppp

Examples

Run this code
example(msr)
   plot(rp)
   plot(rs)

Run the code above in your browser using DataCamp Workspace