Contour plot
Contour plot of a RasterLayer. methods
## S4 method for signature 'RasterLayer' contour(x, maxpixels=100000, ...)
x
: Raster* objectmaxpixels
: maximum number of pixels used to create the contours...
: any argument that can be passed to contour
(graphics package)persp
, filledContour
, rasterToContour
r <- raster(system.file("external/test.grd", package="raster")) plot(r) contour(r, add=TRUE)