Description Usage Arguments Value Author(s) See Also
View source: R/plotColorScale.R
plotColorScale is a wrapper function around color.legend to ease its usage.
1 2 3 4 |
col |
vector of color strings defining the palette to use |
zlim |
numeric vector (of length 2) defining the upper and lower limit of the values mapped to the color scale. |
pos |
|
align |
character: alignment option passed to color.legend |
gradient |
character: orientation option passed to color.legend |
cex |
numeric: character expansion factor for the text labels |
cex.title |
|
title |
character: the title of the color scale |
outer.range |
logical: whether to extend the scale over the zlim borders at its bottom and top. |
legend |
Nothing is returned.
Jannis v. Buttlar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.