Wrapper function to plot maps of different classes
This function plots Raster and sp-type objects.
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.
#single variable data(dems) mapplot(dems, ncol=4)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.