color.bar {frechet} | R Documentation |
Generate color bar/scale.
Description
Generate color bar/scale.
Usage
color.bar(
colVal = NULL,
colBreaks = NULL,
min = NULL,
max = NULL,
lut = NULL,
nticks = 5,
ticks = NULL,
title = NULL
)
Arguments
colVal |
A numeric vector giving the variable values to which each color is corresponding. It overrides |
colBreaks |
A numeric vector giving the breaks dividing the range of variable into different colors. It overrides |
min |
A scalar giving the minimum value of the variable represented by colors. |
max |
A scalar giving the maximum value of the variable represented by colors. |
lut |
Color vector. Default is |
nticks |
An integer giving the number of ticks used in the axis of color bar. |
ticks |
A numeric vector giving the locations of ticks used in the axis of color bar; it overrides |
title |
A character giving the label of the variable according to which the color bar is generated. |
Value
No return value.