save figure in GUI

4 次查看(过去 30 天)
Xin
Xin 2017-9-25
I have a GUI with two axes and many other buttons. I would like to save one axis into 'jpg' or 'tif' file. However when I tried to use print or saveas to save the figure, the output is the entire GUI interface instead of the axis only. Is there a way to only save the axis using some handle? Thanks.
  1 个评论
Suzanne Dickinson
Suzanne Dickinson 2018-2-14
I agree. With either saveas or print, I get the entire GUI interface. Any answers?

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2017-9-25
saveas() is restricted to figures; print() is as well.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by