[英]How to save contourf figure to image (.jpg) using matlab?
I want to save figure of contourf to image (.jpg). 我想将contourf的图形保存到图像(.jpg)。 i tried using saveas(gcf, output, 'jpg') and the result is blank .jpg file.
我尝试使用saveas(gcf,output,'jpg'),结果是空白的.jpg文件。 Can you help me so the plot contourf can saving in my computer?
您可以帮助我,以便使轮廓轮廓线f保存在计算机中吗?
contourf(L, jml_level)
colormap autumn
figure
This is result of contourf 这是contourf的结果
Thankyou. 谢谢。
You can use figure handle to indicate which figure to save 您可以使用图形手柄指示要保存的图形
fig1 = figure;
contourf(L, jml_level)
colormap autumn
saveas(fig1,'cont.png')
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.