How to merge plots from different scripts
古いコメントを表示
I have different scripts of different algorithms with each showing plots of single algorithm outputs. I want to plot them in single figure with legends like shown in attachment2 件のコメント
Yevgeny Gayev
2023 年 3 月 18 日
As far as I understand, your problem has been associated with the fact that values on the left figure are about 100 times more than those on the right. That's why it is different to compare them.
A typical work arround in such a case is using logarithmical coordinates. So calculate Y=log(OF) for all the curves and plot them, for example, with
plot(t,Y1,t,Y2,t,Y3, ... ,t,Y100,).
Good luck!
Star Strider
2023 年 3 月 18 日
採用された回答
その他の回答 (0 件)
コミュニティ
その他の回答 遠隔学習コミュニティ
カテゴリ
ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!