MATLAB Answers


How would I open multiple figures from one script.

Asked by Giuseppe on 20 Mar 2014
Latest activity Edited by Austin Gee on 16 Nov 2017

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?

  1 Comment

the coding format is


Log in to comment.


2 Answers

Answer by Yoav Romach on 20 Mar 2014
 Accepted Answer

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

  1 Comment

Log in to comment.

Answer by Mischa Kim
on 20 Mar 2014

Correct, use figure just before each of the individual plot commands.


thanks for the further clarification

Awesome, thanks for making it so clear, worked great!!!

Log in to comment.

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today