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!