Description Usage Arguments Details Author(s) See Also Examples
View source: R/sl.view.colbar.R
View a spheRlab colour bar (by simple plotting).
1 | sl.view.colbar(colbar, labels = TRUE, labels.cex = 1, labels.col = "black")
|
colbar |
a spheRlab colourbar as returned by |
labels |
a logical value indicating whether or not the colour indices are added as labels. |
labels.cex |
a scalar that can be used to increase of decrease the label size. |
labels.col |
the label colour. |
This function allows to view a colourbar, independent of how it's applied to a numerical field with corresponding numerical breaks. A simple 'matrix' of the colours is plotted using plot
and rect
. In contrast to other spheRlab plotting functions, this one is not meant to produce a high-quality figure (in pdf format), but for a quick view.
Helge Goessling
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.