How would I open multiple figures from one script.
이전 댓글 표시
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
Austin Gee
2017년 11월 16일
편집: Austin Gee
2017년 11월 16일
the coding format is
figure(1)
plot(x,y)
figure(2)
plot(x2,y2)
figure(3)
plot(x3,y3)
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
Victoria Brazionyte
2022년 10월 26일
wow
채택된 답변
추가 답변 (1개)
Mischa Kim
2014년 3월 20일
12 개 추천
Correct, use figure just before each of the individual plot commands.
댓글 수: 3
Giuseppe
2014년 3월 20일
ron shilling
2016년 2월 24일
Awesome, thanks for making it so clear, worked great!!!
Giuseppe Degan Di Dieco
2021년 4월 26일
Thank you Mischa, it worked for me too!
Best!
카테고리
도움말 센터 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!