figure(1)
colorbar
caxis([10 100]);
fig=figure(1)
colorbar
mycmap = get(fig,'Colormap')
set(fig,'Colormap',flipud(mycmap))
this script does not work on large values like caxis([10 500]);
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!