metre

Plot Color Level Metre

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.

Keywords
hplot, graphs
Usage
metre(xl, yb, xr, yt, lab, cols = risk.colors(length(lab) - 1), shift = 0,
  cex = 1)
Arguments
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 risk.colors.

shift

distance to shift the label texts away from the metre bar.

cex

numeric character expansion factor.

See Also

risk.colors

Aliases
  • metre
Documentation reproduced from package spatialkernel, version 0.4-23, License: CC BY-NC-SA 4.0

Community examples

Looks like there are no examples yet.