将图保存到文件夹中时没有出现轴

时间:2019-02-18 05:23:51

标签: image matlab plot

当我绘制图形时,坐标编辑器中会显示轴 但是当我将图直接另存为.png时,轴没有显示。

我想要所有四个轴,所以我的身材看起来很完整。

hh=pcolor(lon,lat,ghs)

set(hh,'EdgeColor', 'none');
 box on
Color=[1,1,1;
    1,0.8,0;
    1,0,0;
    0.4,0,0];
colormap(Color);
set(gca,'FontSize',20)

caxis([0 3])
cd ('C:\Users\soura\Documents\synop\figures\ch2_2\');%When I am saving it here, the axes are not apearing. but it is applearing in the plot editor

saveas (gcf,'a.tiff');

0 个答案:

没有答案