- To view a 3D axes from above, looking down on the XY plane, use view(2).
- To remove the depth perspective, change the projection to orthogonal.
Convert 3DPointCloud into a plot XY (2D)
3 views (last 30 days)
Show older comments
Ramón Fernández de Caleya on 10 Jan 2023
I need to transform a PointCloud to a plot of it from the XY plane, that is, from above. Thank you for answering
Adam Danz on 10 Jan 2023
Edited: Adam Danz on 10 Jan 2023
If the goal is to view the pointcloud from the top to see the XY plane, there's no need to replot the data.
pc = pointCloud(xyzPoints);
However, if you really want to replot the (X,Y) values,
scatter(xyzPoints(:,1), xyzPoints(:,2), 10, xyzPoints(:,3),'.')
Find more on Preprocessing 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!