Exporting an Axes in a GUI as a .tiff file

1 visualización (últimos 30 días)
ZedRedLed
ZedRedLed el 26 de Oct. de 2018
Comentada: ZedRedLed el 8 de Nov. de 2018
Hello,
I have a GUIDE GUI with an axes object that displays a relatively tall graph. I would like to save it as a .tiff and so far I created an empty figure, used copyobj to duplicate my axes and then export it with saveas.
This however messes up the sizes and aspect ratios. Part of the image is cut off and the image is not centered, leaving a large empty white space.
How can I save an axes while maintainig the correct aspect ratio and size and fill the entire image?
Thanks in advance!
  2 comentarios
dpb
dpb el 26 de Oct. de 2018
Start with Answer 43478
ZedRedLed
ZedRedLed el 8 de Nov. de 2018
Thanks, of all the things I tried with PaperPosition this one worked like a charm!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Productos


Versión

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by