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

1 visualización (últimos 30 días)
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 ?

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 26 de Abr. de 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.

Más respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by