登录论坛

查看完整版本 : 将绘图保存到Matlab中的图像文件中:saveas和print之间的区别


poster
2019-12-10, 20:30
我想知道将图保存到Matlab中的图像文件中时,saveas和print之间有什么区别?在什么情况下都可以使用?在什么情况下只能使用?

谢谢并恭祝安康!



回答:

我相信SAVEAS只是PRINT的包装。查看SAVEAS(编辑saveas)的源代码-大量参数检查,最后只打印一行。两种功能都支持相同的格式。 SAVEAS的语法更简单。

在SAVEAS注释中: "If you want to control the size or resolution of figures saved in image (bitmapped) formats (such as BMP or JPG), use the print command."



更多&回答... (https://stackoverflow.com/questions/2487692)