colormap and NaNs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

colormap and NaNs

Claudio Belotti-3
hi all,
I often use pcolor or imagesc to visualise matrices and I find very
convenient to have NaNs say, in white, while with the jet colormap
numerical values go from blue to read.

I'm now running version 3.2.4 and something seems to have changed,
NaNs are shown as the smallest values (i.e. in blue with jet).

Is there a way to change this and define a colour for NaNs?

thanks
Claudio
_______________________________________________
Help-octave mailing list
[hidden email]
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave