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 commentaire

Suzanne Dickinson
Suzanne Dickinson le 14 Fév 2018
I agree. With either saveas or print, I get the entire GUI interface. Any answers?

Connectez-vous pour commenter.

 Réponse acceptée

Walter Roberson
Walter Roberson le 25 Sep 2017

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur Printing and Saving dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by