Contour plot
contour.RdContour plot of a RasterLayer.
Arguments
- x
Raster* object
- maxpixels
maximum number of pixels used to create the contours
- ...
any argument that can be passed to
contour(graphics package)
Examples
r <- raster(system.file("external/test.grd", package="raster"))
plot(r)
contour(r, add=TRUE)