Adds a series of colors mapped to a value
colorbar(breaks, col, text.col = "white", labels = TRUE, maxleft = 0.95)| breaks | a set of finite numeric breakpoints for the
colours (see |
|---|---|
| col | a list of colors (see |
| text.col | axis and text label color |
| labels | labels for tick marks - see |
| maxleft | Extent the left hand for colorbar |
A plot
Much of this was taken from vertical.image.legend from
the aqfig package