Reputation: 63
I am using below code to plot the Kinect point clouds in Matlab:
showPointCloud(pcloud, 'VerticalAxis', 'y', 'VerticalAxisDir', 'Down');
xlabel('X (m)');
ylabel('Y (m)');
zlabel('Z (m)');
Which give me this plot :
But I wish to plot it up to 1 m in Z value! How can I set it to display point clouds up to 1 m?
Upvotes: 3
Views: 289
Reputation: 63
As @LuisMendo
responded in comments:
when i use zlim
the plot has changed as below :
This is the edited code :
showPointCloud(pcloud, 'VerticalAxis', 'y', 'VerticalAxisDir', 'Down');
xlabel('X (m)');
ylabel('Y (m)');
zlabel('Z (m)');
zlim ([0,1])
Upvotes: 2