Plot spatial map plots of calculated proxies, and optionally save to file
Source:R/plotting.R
plot_raster_proxy.Rd
Plot spatial map plots of calculated proxies, and optionally save to file
Usage
plot_raster_proxy(
raster,
hsi_index,
calibration = NULL,
palette = c("viridis", "magma", "plasma", "inferno", "civids", "mako", "rocket",
"turbo"),
extent = NULL,
ext = NULL,
write = FALSE,
...
)
Arguments
- raster
a SpatRaster with calculated hyperspectral indices and RGB layers.
- hsi_index
a character indicating hyperspectral index layer to plot.
- calibration
result of pixel_to_distance or actual call to pixel_to_distance with appropriate input.
- palette
a character indicating one of viridis palettes of choice: "viridis", "magma", "plasma", "inferno", "civids", "mako", "rocket" and "turbo”.
- extent
an extent or SpatVector used to subset SpatRaster. Defaults to the entire SpatRaster.
- ext
character, a graphic format extension.
- write
logical, should resulting SpatRaster be written to file.
See also
Other Plotting:
plot_composite()
,
plot_profile_spectral_profile()
,
plot_profile_spectral_series()
,
plot_raster_overlay()
,
plot_raster_rgb()
,
stretch_raster_full()