ButtonDownFcn disabled after using matlab rotate 3D tool

2 views (last 30 days)
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?

Accepted Answer

Rik
Rik on 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.

More Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!