plotBars function

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