Saved Image Quality - Command line versus GUI

When I save .png images, the quality is noticeably better if I use the GUI. How can I get the same quality image using the command line Matlab?
matlab -nodesktop -nodisplay -r "script_name"
My code to save the figure is
print('-dpng','-r150',frame_file);
Thanks!

回答 (0 件)

質問済み:

2016 年 2 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by