Description Usage Arguments See Also
This is a simple function provided here for the convenience of users. It adds
a key showing how the colors map to the values of an image
plot.
1 2 | metre(xl, yb, xr, yt, lab, cols = risk.colors(length(lab) - 1), shift = 0,
cex = 1)
|
xl |
Left coordinate of the color level metre bar. |
yb |
Bottom coordinate of the color level metre bar. |
xr |
Right coordinate of the color level metre bar. |
yt |
Top coordinate of the color level metre bar. |
lab |
metre level labels in the metre. |
cols |
associated colours, defaults to use |
shift |
distance to shift the label texts away from the metre bar. |
cex |
numeric character expansion factor. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.