MATLAB Answers

How would I open multiple figures from one script.

9,440 views (last 30 days)
Giuseppe on 20 Mar 2014
Edited: Chirag GAUR on 4 May 2020
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?


Austin Gee
Austin Gee on 16 Nov 2017
the coding format is
Chirag GAUR
Chirag GAUR on 4 May 2020
Thankyou Very Much...!! lml
For having multiple plots in single window you may go for 'subplot' command

Sign in to comment.

Accepted Answer

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

More Answers (1)

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


ron shilling
ron shilling on 24 Feb 2016
Awesome, thanks for making it so clear, worked great!!!

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!