metre {spatialkernel} | R Documentation |
Plot Color Level Metre
Description
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.
Usage
metre(xl, yb, xr, yt, lab, cols = risk.colors(length(lab) - 1),
shift = 0, cex = 1)
Arguments
xl,yb,xr,yt |
x,y coordinates of the left-bottom
and right-top corners of the color level metre bar. |
lab |
metre level labels in the metre. |
cols |
associated colours, defaults to use risk.colors . |
shift |
distance to shift the label texts away from the metre bar. |
cex |
numeric character expansion factor. |
See Also
risk.colors
[Package
spatialkernel version 0.4-8
Index]