From: maxwell10 on 14 May 2010 00:04 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 14 May 2010 05:40 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 16 May 2010 04:19 Great!!! Thanks :)
|
Pages: 1 Prev: Error in extracting data Next: output the distance values using knnclassify |