## S3 method for class 'splitppp':
plot(x, \dots, main, arrange=TRUE,
   nrows=NULL, ncols=NULL, main.panel=NULL, mar.panel=c(2,1,1,2),
   panel.begin=NULL, panel.end=NULL, panel.args=NULL, plotcommand="plot")split.ppp.plot.ppp which control the
    appearance of each plot panel.arrange=TRUE)
    or plot them individually in a succession of frames
    (arrange=FALSE).arrange=TRUE).
    You can specify either or both of these numbers.mar controlling the size
    of the margins outside each plot panel.
    See the help file for par.plot method for the class "splitppp".
  It is typically used to plot the result of the function
  split.ppp but it may also be used to plot any list
  of point patterns created by the user.  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. 
  The arguments panel.begin and panel.end
  may be functions (taking the argument i for the panel
  number) that will be executed before and after each panel is plotted.
  Alternatively, they may be objects of some class that can be plotted
  with the generic plot command. They will be plotted before and
  after each panel is plotted.
split.ppp,
  plot.ppp,
  ppp.object# Multitype point pattern
 data(amacrine)
 plot(split(amacrine))Run the code above in your browser using DataLab