This MATLAB function creates a color bar associated with a filled contour display created with contourfm, contourm, contour3m, or geoshow.
www.mathworks.com