ButtonDownFcn disabled after using matlab rotate 3D tool

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 Comments

Did you try to use pan?
I used Rotate 3D but using pan (or any other tool) has the same effect.

Sign in to comment.

 Accepted Answer

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.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Asked:

on 24 Mar 2020

Commented:

on 25 Mar 2020

Community Treasure Hunt

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

Start Hunting!