Axes not appearing when I save plot in a folder

2 ビュー (過去 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 Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by