How do I plot 3D data in MATLAB?
显示 更早的评论
My data is of the format (x,y,z,T), where x,y and z are axes indicating a point and T is the colour value at the specified point.
Thanks
回答(2 个)
Walter Roberson
2011-11-7
pointsize = 8; %adjust at will
scatter3(x(:), y(:), z(:), pointsize, T(:));
Yi Zhang
2021-4-13
1 个投票
pointsize = 8; %adjust at will
scatter3(x(:), y(:), z(:), pointsize, T(:));
2 个评论
Bruno Credidio
2022-3-28
Why did you just copy Walter Roberson's answer?
Vito Vekic
2022-5-10
Based
类别
在 帮助中心 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!