How would I open multiple figures from one script.

조회 수: 2,042 (최근 30일)
Giuseppe
Giuseppe 2014년 3월 20일
댓글: Megh DESHPANDE 2022년 11월 10일
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
Chirag GAUR
Chirag GAUR 2020년 5월 4일
편집: Chirag GAUR 2020년 5월 4일
Thankyou Very Much...!! lml
For having multiple plots in single window you may go for 'subplot' command

댓글을 달려면 로그인하십시오.

채택된 답변

Yoav Romach
Yoav Romach 2014년 3월 20일
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
Adarsh Vasa
Adarsh Vasa 2019년 3월 20일
Thank you.
Megh DESHPANDE
Megh DESHPANDE 2022년 11월 10일
Thank you very much... This helped a lot

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Mischa Kim
Mischa Kim 2014년 3월 20일
Correct, use figure just before each of the individual plot commands.
  댓글 수: 3
ron shilling
ron shilling 2016년 2월 24일
Awesome, thanks for making it so clear, worked great!!!
Giuseppe Degan Di Dieco
Giuseppe Degan Di Dieco 2021년 4월 26일
Thank you Mischa, it worked for me too!
Best!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by