Description Usage Arguments See Also
draw.scale
takes a vector of values, a color vector, and a range
vector and returns colors for plotting those values
1 | assign.scale.colors(x, scale.colors, scale.range, all.inside = TRUE)
|
x |
values to be plotted |
scale.colors |
a vector of colors |
scale.range |
range for scale (vector with 2 numeric elements) |
all.inside |
If TRUE, out-of-range points are colored with the ends of the color scale. If FALSE, they will be assigned no color (NA). |
draw.scale
for drawing a color scale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.