raster (version 1.1.7)

contour: Contour plot

Description

Contour plot of a RasterLayer. This is a generic function, in this package implemented for RasterLayer objects.

Usage

contour(x, ...)

Arguments

x
A Raster* object
...
Any argument that can be passed to contour (graphics package)

Methods

contour(x, y=1, maxpixels=100000, ...) rll{ x a RasterLayer object y a index (layer number) if x is a RasterStack or RasterBrick maxpixels Maximum number of pixels used to create the contours ... Any argument that can be passed to contour (graphics package) }

See Also

plot3D, persp, filledContour

Examples

Run this code
r <- raster(system.file("external/test.grd", package="raster"))
plot(r)
contour(r, add=TRUE)

Run the code above in your browser using DataLab