Axes not appearing when I save plot in a folder

조회 수: 1 (최근 30일)
Sourangsu Chowdhury
Sourangsu Chowdhury 2019년 2월 18일
When I am plotting a figure, axes are showing in the plot editor
But when I am directly saving the plot as .png in a folder, axes are not showing up.
I want all four axes, so my figure looks complete.
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개)

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by