How to combine two plotted graphs in one graph to compare the results?

4 ビュー (過去 30 日間)
vyshnavi Nagireddy
vyshnavi Nagireddy 2018 年 2 月 8 日
Worked on two algorithms got the outputs for both. How can i combine the graphs in one such that i could compare the best algorithm among them using graphs.

採用された回答

Birdman
Birdman 2018 年 2 月 8 日
figure;hold on;grid on;
%calculations for your first data
plot(x1,y1,'-');
%calculations for your second data
plot(x2,y2,'o');
  2 件のコメント
vyshnavi Nagireddy
vyshnavi Nagireddy 2018 年 2 月 8 日
Thank you.
Mohammad Yusuf Akhtar
Mohammad Yusuf Akhtar 2022 年 2 月 9 日
Thanks a lot.

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

その他の回答 (0 件)

カテゴリ

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