How can I maximize the image size and quality to be saved in Appdesigner?

1 view (last 30 days)
Hi All
given that the option print is not available in app designer, how can I , using save function, increase the image size and quality , plus arranging the axes fonts size adequate to the number of subplots, so they are not too big to overlap ?

Accepted Answer

Ameer Hamza
Ameer Hamza on 26 Apr 2020
In R2020a, MATLAB introduced exportgraphics(): https://www.mathworks.com/help/matlab/ref/exportgraphics.html as a better alternative to print() and saveas(). It works in the app designer too, and it can take axes handle as input.
For older releases, you can use this very useful package from fileexchange: https://www.mathworks.com/matlabcentral/fileexchange/23629-export_fig. This package works even better than print in several cases. However, this package does not work on UIAxes yet, and you will need to create normal axes in the app designer. See the attached app for a demo of export_fig in app designer.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!