From: Ali Al-Radaideh on
Dear All,

I have got a Grey scale image and managed to map its values using the colormap('Jet') such that the maximum value(s) has/have a red color and the lowest value(s) has/have a blue color. Now I simply need to reverse this such that the largest value(s) has/have a blue color ...etc.

I used the code colormap(flipud('Jet')) but did not make any changes. Here is the code i have used;

colormap(flipud('Jet'))
imagesc(rot90(T1_sc(:,:,29)),[500 2500]);
colorbar;

The image name is T1_sc.
Any ideas why did not work, please?

Many thanks in advance
Ali