In 14b MATLAB Graphics introduced the ability for axes to have their own
colormaps. When you edited the colormap using the colormap editor, you were
editing the colormap for the axes. Modify your code such that when you get
the colormap, you specify the axes you want to get it from:
cm = colormap(gca);
-- Rick
"Maha " <
mh...@mit.edu> wrote in message
news:m4h1tt$g3b$1...@newscl01ah.mathworks.com...