How i can plot two graphs in one figure?

1 回表示 (過去 30 日間)
Raidar Ali
Raidar Ali 2018 年 12 月 29 日
コメント済み: madhan ravi 2018 年 12 月 29 日
tell me about the simplest commnd to plot the two graphs in one figure.

採用された回答

madhan ravi
madhan ravi 2018 年 12 月 29 日
編集済み: madhan ravi 2018 年 12 月 29 日
See https://www.mathworks.com/help/matlab/ref/hold.html , the command would be hold on
% an example
plot(1:10)
hold on
plot((1:10).^2)
Screen Shot 2018-12-30 at 12.40.17 AM.png
  1 件のコメント
madhan ravi
madhan ravi 2018 年 12 月 29 日
If it's what you are looking for make sure to accept the answer else let know

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

その他の回答 (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