cla reset;
load topo;
[x y z] = sphere(45);
s = surface(x,y,z,'facecolor','texturemap','cdata',topo);
set(s,'edgecolor','none','facealpha','texture','alphadata',topo);
set(s,'backfacelighting','unlit');
colormap(topomap1);
alpha(0.8); %alpha(1),透明度0。
alphamap([.1;1])
axis off vis3d;
campos([2 13 10]);
camlight;
lighting gouraud;
F=moviein(36);
for i=1:360
view ((i-1),0);
F(i)=getframe(gcf);
pause(0.05);
end
matlab绘制世界地图
最新推荐文章于 2023-11-11 14:53:49 发布