将下列数据用matlab制成三维散点图G01,8457608.879156271,13771859.28188082,21340549.634021923 G01,-9051941.872652175,19204290.931452215,15956724.90917862 G01,14288658.076423738,-21468167.768726405,5399482.479929744
时间: 2023-05-30 08:05:05 浏览: 122
热力散点图_热力图_散点图_matlab_热力图matlab、_matlab热力图_
5星 · 资源好评率100%
代码如下:
```matlab
% 数据
data = [8457608.879156271,13771859.28188082,21340549.634021923;
-9051941.872652175,19204290.931452215,15956724.90917862;
14288658.076423738,-21468167.768726405,5399482.479929744];
% 绘制散点图
scatter3(data(:,1), data(:,2), data(:,3), 'filled');
title('三维散点图');
xlabel('X');
ylabel('Y');
zlabel('Z');
```
绘制结果如下图所示:
![三维散点图](https://img-blog.csdnimg.cn/20211011163648130.png)
阅读全文