Fill plot with gradient colors
古いコメントを表示
I'm trying to plot a signal, for example cos(x), with a red gradient colormap for positive values and a blue one for negative values. Something similar to the solution previously discussed in:

I haven't been able to make this work for me, any suggestions?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Blue についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



