Thank you, Sean. However, the problem is how to add two different colorbars corresponding to the two different colormaps. Your example shows only one colorbar. I am attaching an example graph of what I mean. I produced the attached graph with Matlab 2013b using freezecolors and cbfreeze. However, as I said, cbfreeze does not work anylonger on Matlab 2014b.