3d point cloud in a UIAxes element in app designer

조회 수: 11 (최근 30일)
Adam Wathieu
Adam Wathieu 2019년 6월 20일
댓글: Adam Wathieu 2019년 6월 20일
Hello,
As part of developing a larger app, I am attempting to have a user input an x value, y value, and z value into an 'edit field' in app designer. Then they would hit a button like 'update', and then a 3d graph would show the graph with the plotted point. Something like this:
Ultimately I would like to create a UIAxes that displays a 3d points cloud. Is 3d plotting available in app designer?
Any help is appreciated. Thanks.

채택된 답변

Adam Danz
Adam Danz 2019년 6월 20일
편집: Adam Danz 2019년 6월 20일
You can use plot3() or scatter3() .
function ButtonPushed(app, event)
x = 1:10;
y = 1:10;
z = rand(1,10);
scatter3(app.UIAxes,x,y,z)
grid(app.UIAxes,'on')
end

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by