From: maxwell10 on
I have matrix with values between 30,000 to 60,000 and also a lot of NaNs.
When I imagesc the NaNs pixels are blue, I would like to make the NaNs pixels to be black and will be regardless and independent the other values.
I need jet color map for the values of 30,000-60,000 and black (or white) for the NaNs pixels
thanks
From: Oliver Woodford on
maxwell10 wrote:
> I have matrix with values between 30,000 to 60,000 and also a lot of NaNs.
> When I imagesc the NaNs pixels are blue, I would like to make the NaNs pixels to be black and will be regardless and independent the other values.
> I need jet color map for the values of 30,000-60,000 and black (or white) for the NaNs pixels
> thanks

sc(data, 'jet', 'k');
Get sc here: http://www.mathworks.com/matlabcentral/fileexchange/16233-sc-powerful-image-rendering
From: maxwell10 on
Great!!!

Thanks :)