clc;clear;close all;
x=randn(3,999);
x=1.01*x./vecnorm(x);
[a,b,c]=sphere(99);
surf(a,b,c);
colormap hot;
hold
p=delaunay(x');
h=patch('faces',p,'Vertices',x',FaceVertexCD=cool(size(p,1)),FaceA=0.25);
axis equal off
set(gcf,'color','k')
shading flat
r=@()rand(1,3e2);
scatter(r()*10-5,r()*10-5,r().^2*200,'.w');
camva(2)
matlab_plot_earth
于 2024-04-28 14:36:07 首次发布