How do I plot 3D data in MATLAB?
16 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Walter Roberson
on 7 Nov 2011
pointsize = 8; %adjust at will
scatter3(x(:), y(:), z(:), pointsize, T(:));
0 Comments
Yi Zhang
on 13 Apr 2021
pointsize = 8; %adjust at will
scatter3(x(:), y(:), z(:), pointsize, T(:));
2 Comments
See Also
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!