Axes not appearing when I save plot in a folder

2 views (last 30 days)
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');

Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!