Description Usage Arguments See Also Examples
Contour plot of a RasterLayer.
1 2 |
x |
Raster* object |
maxpixels |
maximum number of pixels used to create the contours |
... |
any argument that can be passed to |
persp
, filledContour
, rasterToContour
1 2 3 | r <- raster(system.file("external/test.grd", package="raster"))
plot(r)
contour(r, add=TRUE)
|
Loading required package: sp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.