powered by
Modify the minimum and maximum values in a calibramp-class object produced by the expand function.
calibramp
expand
trimramp(x, low = NULL, high = NULL)
A trimmed version of x, another calibramp-class object.
x
A calibrated color ramp (e.g. calibramp-class object.
A single numeric value, the minimum value in the calibrated ramp.
numeric
A single numeric value, the maximum value in the calibrated ramp.
data(paleomap) trimmed <- trimramp(paleomap, low=-500, high=1500) plot(trimmed)
Run the code above in your browser using DataLab