Axes widget of a gui ....

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.

1 Kommentar

karan
karan am 24 Nov. 2011
although i have an axes widget in my gui can i open this same plot in a figure window for editing purposes.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 24 Nov. 2011

0 Stimmen

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.

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Nov. 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by