MATLAB Answers

save figure in GUI

조회 수: 56(최근 30일)
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 14 Feb 2018
I agree. With either saveas or print, I get the entire GUI interface. Any answers?

로그인 to comment.

채택된 답변

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

  댓글 수: 1

Xin
Xin 27 Sep 2017
Worked. Thanks.

로그인 to comment.

More Answers (0)

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by