plotBars: A function for creating the segmented color bars in a density...

Description Usage Arguments Value Author(s)

View source: R/densityLegend.R

Description

A function for creating the segmented color bars in a density legend

Usage

1
plotBars(de1, side, colorPalette, colorBreaks)

Arguments

de1

a density() object

side

the side of the plot that the density legend should be plotted on

colorPalette

A vector of color values

colorBreaks

A vector of cutoff values for the color regions

Value

none, graphics are added to the current device

Author(s)

Jason Waddell


oaPlots documentation built on May 2, 2019, 6:46 a.m.

Related to plotBars in oaPlots...