Set specific colors in colormap

10 views (last 30 days)
Colkissi
Colkissi on 3 Nov 2020
Commented: Colkissi on 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

Accepted Answer

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

More Answers (0)

Categories

Find more on Color and Styling in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!