Trying to get multiple graphs in one script

4 vues (au cours des 30 derniers jours)
Georgios
Georgios le 14 Nov 2023
Commenté : Georgios le 18 Déc 2023
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

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 14 Nov 2023
Modifié(e) : KALYAN ACHARJYA le 14 Nov 2023
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!

Plus de réponses (0)

Tags

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by