Axes widget of a gui ....

1 次查看(过去 30 天)
karan
karan 2011-11-24
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 个评论
karan
karan 2011-11-24
although i have an axes widget in my gui can i open this same plot in a figure window for editing purposes.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2011-11-24
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.

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by