Matlab AppDesigner PointCloud not appearing on UIAxes

2 ビュー (過去 30 日間)
Bruno Neto
Bruno Neto 2022 年 3 月 22 日
編集済み: Cris LaPierre 2022 年 3 月 22 日
I'm trying to plot a point cloud into a UIaxes on app designer but it displays on the background panel/figure and not only on the axes.
This is my code:
global DEPTHdevice
global RGBdevice
colorDevice = RGBdevice;
depthDevice = DEPTHdevice;
colorDevice();
depthDevice();
colorImg = getsnapshot(colorDevice);
depthImg = getsnapshot(depthDevice);
ptCloud = pcfromkinect(depthDevice, depthImg, colorImg);
xlabel(app.UIAxesPointCloud, 'X(m)');
ylabel(app.UIAxesPointCloud, 'Y(m)');
zlabel(app.UIAxesPointCloud, 'Z(m)');
pcshow(ptCloud,'Parent',app.UIAxesPointCloud,'VerticalAxis','Y','VerticalAxisDir','Down');

採用された回答

Cris LaPierre
Cris LaPierre 2022 年 3 月 22 日
編集済み: Cris LaPierre 2022 年 3 月 22 日
This answer contains some links that may be helpful as well.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by