View source: R/fortify_raster.R
autoplot.RasterCommon | R Documentation |
raster::raster
Only plot the first layer of the given raster
## S3 method for class 'RasterCommon'
autoplot(
object,
raster.layer = NULL,
p = NULL,
alpha = NULL,
xlim = c(NA, NA),
ylim = c(NA, NA),
log = "",
main = NULL,
xlab = "",
ylab = "",
asp = NULL,
...
)
object |
|
raster.layer |
name of the layer to plot |
p |
|
alpha |
alpha |
xlim |
limits for x axis |
ylim |
limits for y axis |
log |
which variables to log transform ("x", "y", or "xy") |
main |
character vector or expression for plot title |
xlab |
character vector or expression for x axis label |
ylab |
character vector or expression for y axis label |
asp |
the y/x aspect ratio |
... |
other arguments passed to methods |
ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.