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.

1 件のコメント

Xin
Xin 2017 年 9 月 27 日
Worked. Thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File 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