Set specific colors in colormap
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Colkissi
am 3 Nov. 2020
Kommentiert: Colkissi
am 3 Nov. 2020
Hi Everyone,
I want to set my desired colors in colormap such that all negative values of a trend are different shades of red, all positive values are different shades of blue, and the value zero is either white or gray. How do I go about that please?
Thanks
0 Kommentare
Akzeptierte Antwort
Mathieu NOE
am 3 Nov. 2020
hello
you should look in the File Exchange section, there are plenty of code available for custom colormap
your request is already answered : https://fr.mathworks.com/matlabcentral/fileexchange/74791-redblue-colormap-generator-with-zero-as-white-or-black?s_tid=srchtitle
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Color and Styling finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!