PlotManager

版本 1.3.0.0 (9.2 KB) 作者: Daniel Wirtz
Tool to organize plots variably in subplots or single figures, with export functions
589.0 次下载
更新时间 2015/7/27

查看许可证

@@ ATTENTION @@
I've merged my separate submissions into KerMor/matlabtools (http://de.mathworks.com/matlabcentral/fileexchange/52299-kermor-matlabtools), which contains this submission. Please refer to that package to retrieve the current status.
@@@@
The PlotManager is designed for anyone who is regularly producing various plots that should be in subplots during development/experimenting for good overview and later be exported as single figures (e.g. in high quality).

A new plot can be created using "nextPlot". Depending on the logical property "Single" this either opens a new figure or advances to the next subplot. This way, the same script can generate overview subplots or single figures suitable for export.

Any openend plots can then be exported to disk (using the "export_fig" tool internally) using the "savePlots" function.

Some more features:
- nextPlot takes several string arguments that are used as filename on export via "savePlots", axis title and labels
- A FilePrefix can be set for each exported figure
- If nextPlot is called and the current subplots are full, a new figure is openend with the same number of subplots
- savePlots takes a cell array as format strings, so export can be made with a single call in various formats

Enjoy!

引用格式

Daniel Wirtz (2024). PlotManager (https://www.mathworks.com/matlabcentral/fileexchange/36294-plotmanager), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Line Plots 的更多信息
致谢

启发作品: KerMor/matlabtools

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.3.0.0

I've merged my separate submissions into KerMor/matlabtools (http://de.mathworks.com/matlabcentral/fileexchange/52299-kermor-matlabtools), which contains this submission. Please refer to that package to retrieve the current status.
- Many useful improvements
- Included demos
- Tested with current export_fig version

1.2.0.0

- "axes tight" is only executed if neither {X,Y,Z}LimMode are "manual"
- savePlots also takes a cell array of chars as export formats now
- Some new default values

1.1.0.0

Added possibility to (optionally) specify title, xlabel and ylabel in the nextPlot method. Those values will override any values specified before done/nextPlot is called again.

1.0.0.0