
86 Spatial Point Patterns: Methodology and Applications with R
Figure 4.6 . Overlapping "owin" objec ts plotted with semi-transparent colours.
4.1.4 Plotting an image
Several different views of the same data should be explored. Table 4.1 shows some of the most use-
ful commands for displaying a pixel image (obje c t of class "im"). Figure 4.7 sh ows two examples.
plot(X) plot c olour image
image(X) plot colour image
contour(X) draw con tour map
persp(X) display perspective view of surface
iplot(X) launch inte ractive plot panel
textureplot(X) plot values as textures
plot(transect.im(X)) plot pixel values along a line transect
Table 4.1. Useful commands ...