contour | R Documentation |
Contour plot of a RasterLayer.
## S4 method for signature 'RasterLayer'
contour(x, maxpixels=100000, ...)
x |
Raster* object |
maxpixels |
maximum number of pixels used to create the contours |
... |
any argument that can be passed to |
persp
, filledContour
, rasterToContour
r <- raster(system.file("external/test.grd", package="raster"))
plot(r)
contour(r, add=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.