Set specific colors in colormap

3 Ansichten (letzte 30 Tage)
Colkissi
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

Akzeptierte Antwort

Mathieu NOE
Mathieu NOE am 3 Nov. 2020
hello
you should look in the File Exchange section, there are plenty of code available for custom colormap

Weitere Antworten (0)

Kategorien

Mehr zu Color and Styling 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