Export_fig conversion help
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
gummiyummi
am 24 Jul. 2020
Kommentiert: Arthur Roué
am 24 Jul. 2020
I have 4 matlab scripts, each saving a figure at the end as a png file in a folder.
I have a different script which I want to use to export all 4 png files at once using export_fig.
Problem: how do I "load" the saved figures into the script so that I can convert them using export_fig?
code right now:
export_fig fig1.png
export_fig fig2.png
export_fig fig3.png
export_fig fig4.png
ERROR:
Error using export_fig
No figure found
this export script is in the same folder as the 4 scripts which generated the figures and the saved figures themselves
0 Kommentare
Akzeptierte Antwort
Arthur Roué
am 24 Jul. 2020
If you saved your figures in a FIG-File, then
fig_handle = openfig(filename)
will open it.
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!