Overlay color plot of proxy on RGB
Usage
plot_raster_overlay(
raster,
hsi_index,
palette =
c("viridis”, “magma”, “plasma”, “inferno”, “civids”, “mako”, “rocket”, “turbo"),
alpha = 0.5,
extent = NULL,
ext = NULL,
write = FALSE
)
Arguments
- raster
raster a SpatRaster with calculated hyperspectral indices and RGB layers.
- hsi_index
a character indicating hyperspectral index layer to plot.
- palette
a character indicating one of viridis palettes of choice: "viridis”, “magma”, “plasma”, “inferno”, “civids”, “mako”, “rocket” and “turbo”.
- alpha
a number in (0, 1) controlling transparency.
- 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_proxy()
,
plot_raster_rgb()
,
stretch_raster_full()