||
以前认为很麻烦的事往往一行命令就能搞定,代码如下
figure('position',[100 100 600 500],'PaperPositionMode', 'auto')
m_proj('Satellite','radius',10,'lat',21.13,'long',150,'rot',0)
ax = subplot('position',[0.1 0.14 0.8 0.84]); hold on;
colormap(GMT_wysiwygcont)
caxis(ax,[-20 20]);
m_coast('patch','k','edgecolor','none');
fig = m_pcolor(lon,lat,sla_temp'.*100);
set(fig,'linestyle','none')
m_grid('xtick',[],'ytick',[],'linestyle','none','color','none','BackgroundColor', [0.7 0.7 0.7]); %此处修改
ch = colorbar('horizontal');
set(get(ch,'title'),'string',[num2str(year),ncfilename(29:30),ncfilename(31:32),' unit:cm']);
修改前海表面高度异常SLA,北极地区都是白色与数据内容相冲,修改后变为灰色如图所示
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-27 12:28
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社