フィルターのクリア

How to plot two plots in one graph?

1 回表示 (過去 30 日間)
Shuqing Qi
Shuqing Qi 2021 年 2 月 2 日
編集済み: Adam Danz 2021 年 2 月 3 日
How can I plot "Chaotic_Balance(0.02, 9, 18, 1)" and "Chaotic_Balance(0.02, 10, 18, 1)" in one graph and label them like the picture shows below (red and blue line with descriptions)?
  3 件のコメント
Shuqing Qi
Shuqing Qi 2021 年 2 月 2 日
I used it in a new script, but it seemed not work as well. Why is it?
Mathieu NOE
Mathieu NOE 2021 年 2 月 2 日
hi
it would be more efficient maybe if you could share the code (and the data if needed)

サインインしてコメントする。

回答 (1 件)

Adam Danz
Adam Danz 2021 年 2 月 2 日
編集済み: Adam Danz 2021 年 2 月 3 日
Place it just before the i-loop
figure()
hold on
for i = 1:Year
...
end
hold off % optional

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by