Matlab App Designer UIAxes 2d Plot

조회 수: 2 (최근 30일)
Ethan Brueckner
Ethan Brueckner 2022년 3월 28일
댓글: Adam Danz 2022년 3월 30일
I have a UIAxes plot that populates with the data selected from the checklist on the left. However when the data is selected, the plot takes a 3d view. Is there a way to intialize the UI as a 2d plot, or make sure that the camera is only showing the 2d view?
  댓글 수: 8
Ethan Brueckner
Ethan Brueckner 2022년 3월 30일
Managed to solve it by setting y limits! Thanks for the help!
Adam Danz
Adam Danz 2022년 3월 30일
Sounds like some serious bugs. If you think it's within the Matlab software, please contact technical support.

댓글을 달려면 로그인하십시오.

채택된 답변

Kevin Holly
Kevin Holly 2022년 3월 29일
Without knowing what you are plotting, all I can recommend is changing to a 2D view. You can do so as shown below. Note, in App Designer you need to specify the uiaxes in these functions.
figure
scatter3(rand(10),rand(10),rand(10),'.')
view(0,0)
figure
plot3(rand(10),rand(10),rand(10))
view(0,90)
figure
scatter3(rand(10),rand(10),rand(10),'filled')
view(90,90)
figure
surf(rand(10),rand(10),rand(10))
view(90,0)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by