ButtonDownFcn disabled after using matlab rotate 3D tool

2 vues (au cours des 30 derniers jours)
Aad Lagerberg
Aad Lagerberg le 24 Mar 2020
Commenté : Aad Lagerberg le 25 Mar 2020
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 commentaires
darova
darova le 24 Mar 2020
Did you try to use pan?
Aad Lagerberg
Aad Lagerberg le 25 Mar 2020
I used Rotate 3D but using pan (or any other tool) has the same effect.

Connectez-vous pour commenter.

Réponse acceptée

Rik
Rik le 25 Mar 2020
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.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by