Exporting an Axes in a GUI as a .tiff file

4 visualizzazioni (ultimi 30 giorni)
ZedRedLed
ZedRedLed il 26 Ott 2018
Commentato: ZedRedLed il 8 Nov 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 Commenti
ZedRedLed
ZedRedLed il 8 Nov 2018
Thanks, of all the things I tried with PaperPosition this one worked like a charm!

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Printing and Saving in Help Center e File Exchange

Prodotti


Release

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by