MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   将绘图保存到Matlab中的图像文件中:saveas和print之间的区别 (https://www.labfans.com/bbs/showthread.php?t=23229)

poster 2019-12-10 20:30

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

谢谢并恭祝安康!



[B]回答:[/B]

我相信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."



[url=https://stackoverflow.com/questions/2487692]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 04:57

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.