Trying to get multiple graphs in one script

I have to do an engineerjng exercise on MATLAB which has questions where the data changes and I have to do that in one script.Do I have to write then new data every time they change and do I add figures before or after the new data .Also is doing it with subplot easier and if you could help me by explaining it it would be very much appreciated

 採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2023 年 11 月 14 日
編集済み: KALYAN ACHARJYA 2023 年 11 月 14 日

1 投票

If you want to display all plots in the same figure, utilize 'hold on.' For multiple sub-figures, consider using the 'subplot' function. Additionally, explore the 'titlelayout' functionalities.
Refer to the MATLAB documentation for more details.
Hope it helps!

その他の回答 (0 件)

製品

リリース

R2022b

タグ

質問済み:

2023 年 11 月 14 日

コメント済み:

2023 年 12 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by