figure
subplot(2,2,1)
sphere(10);
title('sphere(10)')
subplot(2,2,2)
[x4,y4,z4] = sphere(20);
surf(x4,y4,z4)
title('sphere(20)')
subplot(2,2,3)
[x4,y4,z4] = sphere(40);
surf(x4,y4,z4)
title('sphere(40)')
subplot(2,2,4)
[x4,y4,z4] = sphere(80);
surf(x4,y4,z4)
title('sphere(80)')
图片如下: