colorBar: Segments for Map Legend

Description Usage Arguments See Also

View source: R/mapLegend.R

Description

Create the segments that will form the color bar in a map legend

Usage

1
colorBar(bar1, bar2, cols, n = 256)

Arguments

bar1, bar2

length 4 vector containing x0,y0,x1,y1 elements (see segments)

cols

colors used in heat map figure

n

number of segments that will form color bar

See Also

mapLegend


rBatt/rbLib documentation built on May 26, 2019, 7:45 p.m.