colormap plot adjust colors
Show older comments
I would like to have a colorbar next to my plot, which runs from green, yellow via orange to red. How can I adjust these colors? I added a figure of an example.
1 Comment
Adam
on 18 Mar 2019
You can use
doc colormapeditor
to do this visually, or create your own colourmap programatically with the key points for green, yellow, orange and red and interpolate between them to produce a colourmap of the desired size.
Accepted Answer
More Answers (0)
Categories
Find more on Color and Styling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!