powered by
Contour plot of a RasterLayer.
# S4 method for RasterLayer contour(x, maxpixels=100000, ...)
Raster* object
maximum number of pixels used to create the contours
any argument that can be passed to contour (graphics package)
contour
persp, filledContour, rasterToContour
persp
filledContour
rasterToContour
# NOT RUN { r <- raster(system.file("external/test.grd", package="raster")) plot(r) contour(r, add=TRUE) # }
Run the code above in your browser using DataLab