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

1 次查看(过去 30 天)
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 ?

采纳的回答

Ameer Hamza
Ameer Hamza 2020-4-26
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by