powered by
The method can be used to inspect and visualize calbirated color ramp object.
# S3 method for calibramp plot(x, ...)rampplot( x, breaks = FALSE, breaklabs = TRUE, axis.args = list(side = 2), ylab = "z", xlab = "" )
rampplot( x, breaks = FALSE, breaklabs = TRUE, axis.args = list(side = 2), ylab = "z", xlab = "" )
The functions have no return values.
The calibirated color ramp object (calibramp-class object).
calibramp
Arguments passed to the rampplot function.
rampplot
Should the distribution of breaks be visualized?
Should the minimum and maximum break labels be visualized?
Arguments passed to the axis function.
y-axis label.
x-axis label.
# the paleomap ramp data(paleomap) plot(paleomap) # 0-calibrated, expanded ramp tiepoints <- data.frame(z=c(c(-1, -0.1, 0, 0.1, +1)), color=gradinv(5)) ramp <- expand(tiepoints, n=255) plot(ramp)
Run the code above in your browser using DataLab