Learn R Programming

spatstat (version 1.56-1)

plot.splitppp: Plot a List of Point Patterns

Description

Plots a list of point patterns.

Usage

# S3 method for splitppp
plot(x, …, main)

Arguments

x

A named list of point patterns, typically obtained from split.ppp.

Arguments passed to plot.listof which control the layout of the plot panels, their appearance, and the plot behaviour in individual plot panels.

main

Optional main title for the plot.

Value

Null.

Error messages

If the error message ‘Figure margins too large’ occurs, ensure that equal.scales=FALSE and increase the values of mar.panel.

Details

This is the plot method for the class "splitppp". It is typically used to plot the result of the function split.ppp.

The argument x should be a named list of point patterns (objects of class "ppp", see ppp.object). Each of these point patterns will be plotted in turn using plot.ppp.

Plotting is performed by plot.listof.

See Also

plot.listof for arguments controlling the plot.

split.ppp, plot.ppp, ppp.object.

Examples

Run this code
# NOT RUN {
# Multitype point pattern
 plot(split(amacrine))
 plot(split(amacrine), main="", 
     panel.begin=function(i, y, ...) { plot(density(y), ribbon=FALSE, ...) })
# }

Run the code above in your browser using DataLab