How would I open multiple figures from one script.

2 021 vues (au cours des 30 derniers jours)
Giuseppe
Giuseppe le 20 Mar 2014
Commenté : Megh DESHPANDE le 10 Nov 2022
Hi I have 3 scripts which all produce a figure. They are all graphs. How would i put them all on one script and have all plots displayed as separate figures. I believe you have to use the figure() function?
  3 commentaires
Chirag GAUR
Chirag GAUR le 4 Mai 2020
Modifié(e) : Chirag GAUR le 4 Mai 2020
Thankyou Very Much...!! lml
For having multiple plots in single window you may go for 'subplot' command
Victoria Brazionyte
Victoria Brazionyte le 26 Oct 2022
wow

Connectez-vous pour commenter.

Réponse acceptée

Yoav Romach
Yoav Romach le 20 Mar 2014
Hey Giuseppe, Yes, you need to call figure() in between. You can just call it without parameters and it'll work, or you can check the function page and see what options you can put in
  3 commentaires
Adarsh Vasa
Adarsh Vasa le 20 Mar 2019
Thank you.
Megh DESHPANDE
Megh DESHPANDE le 10 Nov 2022
Thank you very much... This helped a lot

Connectez-vous pour commenter.

Plus de réponses (1)

Mischa Kim
Mischa Kim le 20 Mar 2014
Correct, use figure just before each of the individual plot commands.
  3 commentaires
ron shilling
ron shilling le 24 Fév 2016
Awesome, thanks for making it so clear, worked great!!!
Giuseppe Degan Di Dieco
Giuseppe Degan Di Dieco le 26 Avr 2021
Thank you Mischa, it worked for me too!
Best!

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by