colormap plot adjust colors
Afficher commentaires plus anciens
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 commentaire
Adam
le 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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Color and Styling dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!