How would I open multiple figures from one script.

1.280 visualizzazioni (ultimi 30 giorni)
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 Commenti
Chirag GAUR
Chirag GAUR il 4 Mag 2020
Modificato: Chirag GAUR il 4 Mag 2020
Thankyou Very Much...!! lml
For having multiple plots in single window you may go for 'subplot' command

Accedi per commentare.

Risposta accettata

Yoav Romach
Yoav Romach il 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

Più risposte (1)

Mischa Kim
Mischa Kim il 20 Mar 2014
Correct, use figure just before each of the individual plot commands.

Categorie

Scopri di più su Specifying Target for Graphics Output in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by