如何使用Matlab将Contourf图形保存为图像(.jpg)?

时间:2019-01-03 05:29:35

标签: image matlab plot contourf

我想将轮廓图的图形保存到图像(.jpg)。我尝试使用saveas(gcf,output,'jpg'),结果是空白的.jpg文件。您能帮我,使轮廓轮廓线f可以保存在我的计算机中吗?

contourf(L, jml_level)
colormap autumn
figure

This is result of contourf

谢谢。

1 个答案:

答案 0 :(得分:0)

您可以使用图形手柄来指示要保存的图形

@empty(!$products)
   <div class="alert alert-warning">
        <strong>Sorry!</strong> No Product Found.
   </div>
@endempty