At the bottom of this image, you'll see a nice colorbar that matches the colors of the graph correctly:
http://stribog.cc.umanitoba.ca/ceos/20100517_00z_prod/
I couldn't find anything that created a color bar with exactly the colors I wanted, it always seemed to involve a spectrum that included colors I didn't use.
I have a vector of colors I use for my data. Is there I way I can use that vector to create a color bar with only those colors?