metre: Plot Color Level Metre

Description Usage Arguments See Also

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

1
2
  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


spatialkernel documentation built on May 2, 2019, 4:37 p.m.