Could I change the color of specific point?
Ältere Kommentare anzeigen
Hi, all
I have a matrix 49x49,
It's contains 0~10000 value.
When I plot this matrix, use colorbar.
But the zero value point,I want to use white color to present this point.
How can I do?
Thanks.
3 Kommentare
Richard
am 28 Nov. 2012
does it matter what all the other colors are? i.e. do you require them to be in color or will balck and white be ok? If balck and white are ok you could just alter the colormap of your plot to gray: http://www.mathworks.co.uk/help/matlab/ref/colormap.html
BB
am 28 Nov. 2012
Jan
am 28 Nov. 2012
When you post the relevant part of your code, inserting modifications is much easier. Test data can usually created by RAND.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Color and Styling finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!