Use the same color multiple times in a plotting loop
古いコメントを表示
Hello everyone,
I have a problem with a plotting loop, where I am plotting the spectral data and following the fit. For the reason of clarity I want to have them both in the same color, however matlab switches to the next color in order. Can anyone give me hint how to avoid this?
Ralf
3 件のコメント
Narges M
2013 年 7 月 23 日
How do you mean? you could introduce a color variable and update it only after all the plots of each iteration are done. Maybe if you put parts of your code here, it would be easier to understand.
Ralf Niemann
2013 年 7 月 24 日
Ralf Niemann
2013 年 7 月 24 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!