Filter löschen
Filter löschen

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

4 Ansichten (letzte 30 Tage)
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 ?

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by