Axes widget of a gui ....
Show older comments
Hi i have a gui which has an axes widget..
I was wondering how can i save my plot to a jpeg format file..
Thanks for your assistance.
Answers (1)
Walter Roberson
on 24 Nov 2011
0 votes
Possibly my response from http://www.mathworks.com/matlabcentral/answers/21991-save-image is appropriate about saving the axes content ?
If you have a plot in an axes and you want to copy it to a different figure, then you can create the second figure and copyobj() the axes to it.
If you do not want all the graphics items in the axes, you could either remove the extra ones after the copyobj(), or you could create a new axes in the new figure and copyobj() only the things you want to keep over to the new axes.
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!