Filter löschen
Filter löschen

Matlab AppDesigner PointCloud not appearing on UIAxes

2 Ansichten (letzte 30 Tage)
Bruno Neto
Bruno Neto am 22 Mär. 2022
Bearbeitet: Cris LaPierre am 22 Mär. 2022
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');

Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 22 Mär. 2022
Bearbeitet: Cris LaPierre am 22 Mär. 2022
This answer contains some links that may be helpful as well.

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by