contour.im

0th

Percentile

Contour plot of pixel image

Generates a contour plot of a pixel image.

Keywords
hplot, spatial
Usage
## S3 method for class 'im':
contour(x, \dots, main, axes=TRUE, add=FALSE)
Arguments
x
Pixel image to be plotted. An object of class "im".
main
Character string to be displayed as the main title.
axes
Logical. If TRUE, coordinate axes are plotted (with tick marks) around a region slightly larger than the image window. If FALSE, no axes are plotted, and a box is drawn tightly around the image window. Ignored if
add
Logical. If FALSE, a new plot is created. If TRUE, the contours are drawn over the existing plot.
...
Other arguments passed to contour.default controlling the contour plot; see Details.
Details

This is a method for the generic contour function, for objects of the class "im". An object of class "im" represents a pixel image; see im.object.

This function displays the values of the pixel image x as a contour plot on the current plot device, using equal scales on the $x$ and $y$ axes.

The appearance of the plot can be modified using any of the arguments listed in the help for contour.default. Useful ones include: [object Object],[object Object],[object Object] See contour.default for a full list of these arguments.

The defaults for any of the abovementioned arguments can be reset using spatstat.options.

Value

  • none.

See Also

im.object, plot.im, persp.im

Aliases
  • contour.im
Examples
# an image
   Z <- setcov(owin())
   contour(Z)
   contour(Z, axes=FALSE)
Documentation reproduced from package spatstat, version 1.17-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.