Trying to get multiple graphs in one script

101 次查看(过去 30 天)
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
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 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by