Filter löschen
Filter löschen

to give specific colors to certain values in imagesc plots

1 Ansicht (letzte 30 Tage)
seema niran
seema niran am 28 Jan. 2017
Beantwortet: Image Analyst am 28 Jan. 2017
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.

Antworten (1)

Image Analyst
Image Analyst am 28 Jan. 2017
I don't know about Nans, but for zeros, definitely yes. Check out the colormap() and caxis() functions.

Kategorien

Mehr zu Orange finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by