From: Fredrik on
If I change the colormap of a figure it somehow automatically changes the colormap of previous figures as well (see code below), which is weird and very annoying.


figure(1)
bar(x,y,'stack')
figure(2)
bar(x2,y2,'stack')
set(2,'Colormap', newCmap)

In this case, figure 1's colormap changes automatically when I set the colormap for figure 2. figure 1's changed colormap is not the same as NewCmap, which I set to figure 2.

Please advise,
Fredrik