ButtonDownFcn disabled after using matlab rotate 3D tool

조회 수: 2 (최근 30일)
Aad Lagerberg
Aad Lagerberg 2020년 3월 24일
댓글: Aad Lagerberg 2020년 3월 25일
I made a gui with 2 axes objects. the right one has a buttondown callback. The orientation of the left 3d plot can be changed by using the build in matlab rotate 3D tool (in the Tools top menu).
After using that tool the buttondown function on the right axes doesn't work anymore. Any suggestions?
  댓글 수: 2
darova
darova 2020년 3월 24일
Did you try to use pan?
Aad Lagerberg
Aad Lagerberg 2020년 3월 25일
I used Rotate 3D but using pan (or any other tool) has the same effect.

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

채택된 답변

Rik
Rik 2020년 3월 25일
As you can read in the doc, using the rotate3d function without any input will enable the rotation for all axes in a figure. What you need is a button that calls that function with one axes as the input.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by