colormap plot adjust colors
Ältere Kommentare anzeigen
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 Kommentar
Adam
am 18 Mär. 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.
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!