Saved Image Quality - Command line versus GUI

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

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by