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일

0 개 추천

saveas() is restricted to figures; print() is as well.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Printing and Saving에 대해 자세히 알아보기

질문:

Xin
2017년 9월 25일

댓글:

2018년 2월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by