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