Plot Multiple lines on the same Graph

3 ビュー (過去 30 日間)
James Leak
James Leak 2020 年 3 月 4 日
回答済み: Hari Krishna Ravuri 2020 年 3 月 9 日
Hello!
I'm afraid this may be a little bit of a basic issue for many, however I'm still getting to grips with MATLAB. I am trying to plot my graphs all on one graph. I have been looking through the forums but there's a lot of information, but many of them quite different from each other. I was wondering if someone could help so that I can know what to do in the future?
I have uploaded my file also.
Many thanks!
  1 件のコメント
KSSV
KSSV 2020 年 3 月 4 日
Read about plot and holdon.

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

回答 (1 件)

Hari Krishna Ravuri
Hari Krishna Ravuri 2020 年 3 月 9 日
I understand that you want to retain current plot when adding new plots. Consider using
hold on
Please refer https://in.mathworks.com/help/matlab/ref/hold.html to know more about the hold command.
Hope this helps!

カテゴリ

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