📄 earth_zzy.m
字号:
function earth_zzy(ap)
load topo
figure('colormap',topomap1,'Color',[.8 .8 .8]);
[x,y,z] = sphere(50);
azzy.DataAspectRatio = [1 1 1];azzy.PlotBoxAspectRatioMode = 'auto';
fa = axes('Visible','off', azzy);
szzy1.AmbientStrength = 0.1;szzy1.DiffuseStrength = 1;
szzy1.SpecularColorReflectance = .5; szzy1.SpecularExponent = 20;
szzy1.SpecularStrength = 1;
surface(x,y,z,szzy1,'FaceLighting','phong','FaceColor','texture',...
'EdgeColor','none','Cdata',topo,'Parent',fa);
if ap==1,set(fa,'CameraViewAngle',0.1*get(fa,'CameraViewAngle'));end
light('position',[-1 0 1],'color',[0.5 1 0.5]);
light('position',[-1.5 0.5 -0.5],'color',[.6 .2 .2]);
light('Position',[1.5 1.5 -1]);
light('Position',[0 -1.5 0],'color',[0.6 0.6 1]);
view([-17 26])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -