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 commentaire

karan
karan le 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.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 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.

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Question posée :

le 24 Nov 2011

Community Treasure Hunt

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

Start Hunting!

Translated by