Save 2 Figures from GUI
1 view (last 30 days)
Show older comments
Hi, I have a GUI with two figures with the tags plot1 and plot2. I would like to save these plots in two separate fig-files using the current filename [filename = get(handles.filename,'String');].
I have tried the copyobj-routine, but have difficulties with the correct syntax. Can anyone help me? Thanks a lot.
0 Comments
Answers (4)
Julia
on 13 Nov 2014
Hi,
I use the saveas() command to save figures.
saveas(h,'filename','format')
0 Comments
See Also
Categories
Find more on Graphics Object Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!