to give specific colors to certain values in imagesc plots
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
sir, i have a 8*24 matrix. some values are nan and some values are 0. can i set specific colors to nan and 0 values in the image plot of the matrix.
0 Commenti
Risposte (1)
Image Analyst
il 28 Gen 2017
I don't know about Nans, but for zeros, definitely yes. Check out the colormap() and caxis() functions.
0 Commenti
Vedere anche
Categorie
Scopri di più su Blue in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!