plot_raster | R Documentation |
functions that modified plot from raster package
plot_raster(
r,
log = FALSE,
min = -3,
max,
legend.shrink = 0.98,
legend.width = 3,
axe = !llaxis,
llaxis = F,
int = 10,
proj = FALSE,
col = c("white", colorRampPalette(colors = c("#D1F5B1", "#FFDE24FC", "#C70000"))(39)),
x_adjust = 0,
y_adjust = 0,
zlim = c(cellStats(r, "min"), cellStats(r, "max")),
hard_zlim = TRUE,
legend = TRUE,
...
)
r |
raster |
log |
TRUE to plot in log-scale |
min |
log of minimum for plot (default is -3) |
max |
log of maximum for plot |
legend.shrink |
legend height (default is 0.98) |
legend.width |
legend width (default is 3) |
axe |
to plot axis |
llaxis |
to plot custom axis |
int |
argument passed to latitude / longitude functions |
proj |
TRUE to project the raster to latlon |
col |
color |
x_adjust |
to raster shift dx |
y_adjust |
to raster shift dy |
zlim |
zlimits to be passed to plot |
hard_zlim |
bolean, default TRUE, use the maximum color if value is higher than lim[2] and lower than lim[1] |
legend |
false to supress legand (default is true) |
... |
arguments to be passing to stats and plot |
m <- readRDS(paste0(system.file("extdata",package="hackWRF"),"/model.Rds"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.