Description Usage Arguments Value Examples
This function plots Raster and sp-type objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | mapplot(x, ...)
## S4 method for signature 'RasterLayer'
mapplot(
x,
col = "gradinv",
axes = FALSE,
box = FALSE,
legend = FALSE,
legend.title = NULL,
...
)
## S4 method for signature 'RasterStack'
mapplot(x, col = gradinv(255), ...)
## S4 method for signature 'RasterArray'
mapplot(
x,
col = "gradinv",
rgb = FALSE,
legend = FALSE,
axes = FALSE,
box = FALSE,
ncol = 3,
legend.title = NULL,
plot.title = NULL,
rowlabels = rownames(x),
multi = FALSE,
ask = FALSE,
...
)
## S4 method for signature 'SpatialPolygonsDataFrame'
mapplot(x, col = "lightgrey", ...)
## S4 method for signature 'SpatialPolygons'
mapplot(x, col = "lightgrey", ...)
|
x |
Object to be plotted |
... |
arguments passed to class-specific methods. |
col |
( |
axes |
( |
box |
( |
legend |
( |
legend.title |
( |
rgb |
set to ( |
ncol |
|
plot.title |
( |
rowlabels |
( |
multi |
( |
ask |
( |
None.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.