figure;
[X,Y,Z] = sphere;
surf(X,Y,Z);
colormap parula;
shading interp
hold on;
mesh(2*X,2*Y,2*Z)
hidden off
axis equal
axis off
figure;
surf(X,Y,Z,'FaceColor','r');
hold on;
surf(2*X,2*Y,2*Z,'FaceAlpha',0.4);
axis equal
axis off
colormap parula
colormap turbo;
colormap turbo;
colormap jet;
colormap hsv
colormap hot
colormap cool
colormap spring
colormap summer
colormap autumn
colormap winter
colormap gray
colormap bone
colormap copper
colormap pink
colormap lines
colormap colorcube
colormap prism
colormap flag
colormap default
开发工具:MATLAB 2022b
微信Alt+A截屏工具