save figure in GUI

3 visualizaciones (últimos 30 días)
Xin
Xin el 25 de Sept. de 2017
Comentada: Suzanne Dickinson el 14 de Feb. de 2018
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 comentario
Suzanne Dickinson
Suzanne Dickinson el 14 de Feb. de 2018
I agree. With either saveas or print, I get the entire GUI interface. Any answers?

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 25 de Sept. de 2017
saveas() is restricted to figures; print() is as well.
  1 comentario
Xin
Xin el 27 de Sept. de 2017
Worked. Thanks.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Printing and Saving en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by