Contrast adjustments for RasterLayer plots
A plotting function that provides methods for improving the contrast between values.
stretchPlot(x, type = "linear", n, ...) ## S4 method for signature 'RasterLayer' stretchPlot(x, type = "linear", n, ...)
x |
a RasterLayer |
type |
character. Possible values are "linear", "hist.equal", and "sd" |
n |
number of standard deviations to include if |
... |
Additional arguments for raster::plot |
If type = "hist.equal"
, a histogram equalization procedure will be
applied to the values of x
. If type = "sd"
, the values of
x
will be scaled between values that fall between n
standard
deviations of the mean.
mod <- enfa(x = climdat.hist, s.dat = ABPR, field = "CODE") sm <- sensitivity_map(mod) stretchPlot(sm) stretchPlot(sm, type = "hist.equal") stretchPlot(sm, type = "sd", n = 2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.