assign.scale.colors: Assign colors to value according to a scale

Description Usage Arguments See Also

Description

draw.scale takes a vector of values, a color vector, and a range vector and returns colors for plotting those values

Usage

1
assign.scale.colors(x, scale.colors, scale.range, all.inside = TRUE)

Arguments

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).

See Also

draw.scale for drawing a color scale


sushilashenoy/zoom.plot documentation built on May 30, 2019, 8:42 p.m.