Axes not appearing when I save plot in a folder

2 Ansichten (letzte 30 Tage)
Sourangsu Chowdhury
Sourangsu Chowdhury am 18 Feb. 2019
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');

Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by