How do I plot 3D data in MATLAB?
15 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(2 个)
Walter Roberson
2011-11-7
pointsize = 8; %adjust at will
scatter3(x(:), y(:), z(:), pointsize, T(:));
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!