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

1 回表示 (過去 30 日間)
farzad
farzad 2020 年 4 月 24 日
回答済み: Ameer Hamza 2020 年 4 月 26 日
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 Center および File ExchangeDevelop 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