MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   如何保存直方图的图像? (https://www.labfans.com/bbs/showthread.php?t=26347)

poster 2019-12-14 20:13

如何保存直方图的图像?
 
我已经使用(hist)函数创建了一个直方图...之后,我需要将创建的图像保存在文件* .png(jpeg)中吗?使用什么功能可以做到这一点?

谢谢



[B]回答:[/B]

要将图形另存为图像,可以使用[URL="http://www.mathworks.com/help/techdoc/ref/print.html"]PRINT[/URL]或[URL="http://www.mathworks.com/help/techdoc/ref/saveas.html"]SAVEAS[/URL]功能,也可以使用图形菜单选项[B]File-> Save[/B] 。

有关从MATLAB导出图形的更多信息,请查阅[URL="http://www.mathworks.com/help/techdoc/creating_plots/f3-140348.html"]此文档[/URL] 。



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


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

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