Exporting an Axes in a GUI as a .tiff file

4 ビュー (過去 30 日間)
ZedRedLed
ZedRedLed 2018 年 10 月 26 日
コメント済み: ZedRedLed 2018 年 11 月 8 日
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 件のコメント
dpb
dpb 2018 年 10 月 26 日
Start with Answer 43478
ZedRedLed
ZedRedLed 2018 年 11 月 8 日
Thanks, of all the things I tried with PaperPosition this one worked like a charm!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

製品


リリース

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by