save figure in GUI

4 Ansichten (letzte 30 Tage)
Xin
Xin am 25 Sep. 2017
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 Kommentar
Suzanne Dickinson
Suzanne Dickinson am 14 Feb. 2018
I agree. With either saveas or print, I get the entire GUI interface. Any answers?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 25 Sep. 2017
saveas() is restricted to figures; print() is as well.
  1 Kommentar
Xin
Xin am 27 Sep. 2017
Worked. Thanks.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by