plot.calibramp | R Documentation |
The method can be used to inspect and visualize calbirated color ramp object.
## S3 method for class 'calibramp'
plot(x, ...)
rampplot(
x,
breaks = FALSE,
breaklabs = TRUE,
axis.args = list(side = 2),
ylab = "z",
xlab = ""
)
x |
The calibirated color ramp object ( |
... |
Arguments passed to the |
breaks |
Should the distribution of breaks be visualized? |
breaklabs |
Should the minimum and maximum break labels be visualized? |
axis.args |
Arguments passed to the axis function. |
ylab |
y-axis label. |
xlab |
x-axis label. |
The functions have no return values.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.