GUI Print Preview Figure Scaling

3 views (last 30 days)
Anthony Mora
Anthony Mora on 25 May 2017
Edited: Abel Babu on 31 May 2017
I would like to include the option to print the GUI figure (entire thing, not just axes). The problem when using "print" or "printpreview" is that for any paper smaller than A0, objects are scrunched/compressed (cannot see table values, buttons, fields, etc.). I was wondering if there was any way to just scale down the image that is displayed in the window such that it will fit on A4 letter paper (landscape if that matters)?

Accepted Answer

Abel Babu
Abel Babu on 31 May 2017
Edited: Abel Babu on 31 May 2017
Hi Anthony,
The problem is solved by working with the 'papersize' property of the figure handle.
Thanks,
Abel

More Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!