raster (version 1.0.0-1)

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, z=NULL, ...) rll{ x a RasterLayer object y a index of x = RasterStack z values of z are ignored ... Any argument that can be passed to contour (graphics package) }

See Also

contour, persp, plot

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 DataCamp Workspace