Can I set explicit plot colors for specific values or value ranges
Afficher commentaires plus anciens
I am creating a sinlge figure output containing multiple plot elements:
surface
contour3
scatter
For the surface plot, if the value is < 1, I want it to plot in green, if the value is >= 1 I want it to plot in blue.
For the contour3 plot, if the value is >= 25, I want it to plot in red
For the scatter plot, I want the default color of blue for the circles.
Is this possible?
Réponse acceptée
Plus de réponses (1)
Amit
le 16 Juin 2017
0 votes
Can you also interpolate the colors in between those stated values? I am struggling with this issue at the moment.
Catégories
En savoir plus sur Orange dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!