Colormap for area graphic

1 次查看(过去 30 天)
Artyom
Artyom 2012-12-16
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Colormaps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by