plotBars: A function for creating the segmented color bars in a density legend
Description
A function for creating the segmented color bars in a density legend
Usage
plotBars(de1, side, colorPalette, colorBreaks)
Arguments
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