Consider A matrix as:

A=[0  0  1 ;  0  1  1 ;  1  1  2]

if I use "imagesc(A)" command, it will be shown as the enclosed file (by using colormap(hot)).

My question is that how can I define that for elements of A which are in the range of  0=

Similar questions and discussions