Exporting an Axes in a GUI as a .tiff file

4 vues (au cours des 30 derniers jours)
ZedRedLed
ZedRedLed le 26 Oct 2018
Commenté : ZedRedLed le 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 commentaires
dpb
dpb le 26 Oct 2018
Start with Answer 43478
ZedRedLed
ZedRedLed le 8 Nov 2018
Thanks, of all the things I tried with PaperPosition this one worked like a charm!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Produits


Version

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by