3dplot by file .dat?

Hi, i have a set of point in x,y,z coordinates in a first 3 columns of a file .dat. I would like to see them on a plot. How can i do this? I attached file Thank you

回答(1 个)

a=load('sample.dat')
plot3(a(:,1),a(:,2),a(:,3))

类别

在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by