发布网友 发布时间:2022-09-24 22:33
共1个回答
热心网友 时间:2023-09-14 15:59
绘制三维坐标数据的散点图,应用scatter3()函数命令。具体使用方法
>>x=[。。。],y=[。。。],z=[。。。]
>>scatter3(x,y,z)
例如:绘制球形的散点图
>>[x,y,z] = sphere(16);
>>X = [x(:)*.5 x(:)*.75 x(:)];
>>Y = [y(:)*.5 y(:)*.75 y(:)];
>>Z = [z(:)*.5 z(:)*.75 z(:)];
>>scatter3(X(:),Y(:),Z(:)), view(-60,60)
热心网友 时间:2023-09-14 15:59
绘制三维坐标数据的散点图,应用scatter3()函数命令。具体使用方法
>>x=[。。。],y=[。。。],z=[。。。]
>>scatter3(x,y,z)
例如:绘制球形的散点图
>>[x,y,z] = sphere(16);
>>X = [x(:)*.5 x(:)*.75 x(:)];
>>Y = [y(:)*.5 y(:)*.75 y(:)];
>>Z = [z(:)*.5 z(:)*.75 z(:)];
>>scatter3(X(:),Y(:),Z(:)), view(-60,60)