Ysweep-Xsweepデータを3次元plotしたい
Mostrar comentarios más antiguos
X,Y,Z 3列データをそのまま3次元plot する方法を知りたい。
sample の excel file を添付しました。
Respuesta aceptada
Más respuestas (1)
Kenta
el 25 de Dic. de 2019
このような感じでいかがでしょうか。左が3次元表示です。
参考までに、右に上からみた図も載せておきます。もう少しきれいに見せる方法もあると思いますが...

clear;clc;close all
data=xlsread('sample.xlsx');
figure;pcshow(pointCloud(data))
xlabel('x軸')
ylabel('y軸')
zlabel('z軸')
figure;scatter(data(:,1),data(:,2),25,data(:,3),'filled')
colorbar
1 comentario
Ayumi Oribe
el 26 de Dic. de 2019
Categorías
Más información sobre グラフィックス オブジェクトの識別 en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!