How do I keep all plots open?
16 ビュー (過去 30 日間)
古いコメントを表示
How do I keep plots open (even when function or code finishes) and have new plots just create a new plot (not on same axis or anything)
Also how to save multiple plots? e.g. have a function that everytime is run automatically saves the plot to some folder or something
2 件のコメント
Walter Roberson
2020 年 3 月 23 日
Use
figure
and (probably) your new plots will not overwrite the old one.
Sindar
2020 年 3 月 24 日
Also, "print" saves figures
"print(filename,formattype) saves the current figure to a file using the specified file format, such as print('BarPlot','-dpng'). If the file name does not include an extension, then print appends the appropriate one."
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graphics Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!