Colormap for area graphic

2 vues (au cours des 30 derniers jours)
Artyom
Artyom le 16 Déc 2012
Hi everyone. I have area and line graphics in one window
[ax,h1,h2] = plotyy(x, y1, x, y2, @area, @line);
How to set colormap for the area graphic to get green color if area>0 and red if area<=0?

Réponses (0)

Catégories

En savoir plus sur Colormaps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by