Is there a substitute for pcshow()?

6 views (last 30 days)
lucca k
lucca k on 19 Oct 2015
Answered: Dima Lisin on 31 Oct 2015
I got a 3D point cloud with " xyzPoints = depthToPointCloud(depthImage,depthDevice)". As I only have 2015a "pcshow" doesn't work. Is there a substitute command?
Thanks in advance!
lucca k
lucca k on 22 Oct 2015
pcshow() was implemented in 2015b. As I only have access to 2015a it can't work for me I think.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 19 Oct 2015
xyz = get(xyzPoints, 'location');
scatter3(xyz(:,1), xyz(:,2), xyz(:,3))
However, please show size(xyz) after the get(), as there is a different packing of values that might apply.
lucca k
lucca k on 31 Oct 2015
hey walter, it works now with that code:
showPointCloud(xyzPoints, 'VerticalAxis', 'y', 'VerticalAxisDir', 'down');
xlabel('X (m)');
ylabel('Y (m)');
zlabel('Z (m)');
Thank you very much for your help!

Sign in to comment.

More Answers (1)

Dima Lisin
Dima Lisin on 31 Oct 2015
In R2015a the equivalent function is called showPointCloud.

Community Treasure Hunt

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

Start Hunting!

Translated by