能解释一下这些函数和语录的的用法吗 ( ・᷄ὢ・᷅ )
孩子头秃了
clear;
figure
grs80=almanac('earth','grs80');
ax=axesm('globe','Geoid',grs80,'Grid','on','GLineStyle','-','Gcolor','yellow');
set(ax,'Position',[0 0 1 1]);
view(3);
axis equal off vis3d;
set(gcf,'Renderer','opengl');
load topo
geoshow(topo,topolegend,'DisplayType','texturemap');
demcmap(topo);
注释了一下,供参考:
(以后记得自己去matlab里面用help和doc语句)
clear;
figure
grs80=almanac('earth','grs80');% 获取地球1980年大地参考系统椭球数据,地球半径和半径误差
ax=axesm('globe','Geoid',grs80,'Grid','on','GLineStyle','-','Gcolor','yellow');%画出地球的极坐标网格、黄色实线、显示网格
set(ax,'Position',[0 0 1 1]);%固定坐标范围为xOy轴
view(3);%三维视图
axis equal off vis3d;%坐标轴等长,去掉坐标轴,三维视图
set(gcf,'Renderer','opengl');%用OpenGL渲染
load topo% 加载地形图数据
geoshow(topo,topolegend,'DisplayType','texturemap');%显示高线云图
demcmap(topo);%显示高线颜色对应bar
有帮助望采纳