PlotManager
@@ 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!
Zitieren als
Daniel Wirtz (2024). PlotManager (https://www.mathworks.com/matlabcentral/fileexchange/36294-plotmanager), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
Tags
Quellenangaben
Inspiriert: KerMor/matlabtools
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
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.
|
||
1.2.0.0 | - "axes tight" is only executed if neither {X,Y,Z}LimMode are "manual"
|
||
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 |