rotate3D and buttondownfcn incompatibility?
Show older comments
I will make it short here since I explained myself a lot on a previous post on StackOverflow (link here).
To make the problem smaller, let's say I have 2 axes. I want to have 1 of those axes to only allow rotations (I currently use rotate3D(axe1)) freely and only rotate. The other axe need to allow user input using the right mouse click (using set(handles.FigureOnAxes2, 'buttondownfcn', @getCoord)) and only to allow the input, without rotation.
So far, both functions work.... Seperatly. But, if I allow rotation3D on any axe, I can rotate that axe BUT I cannot select anything on the other axe (the event doesn't even trigger).
I can get coordinates without any problems when I don't use rotate3D on an axe.
My question is :
Why does rotate3D seem to block the user input for the axes that are not, logically, touched by the rotate3D function? And is there a way to work around this while still using rotate3D? If not, is there an easy way for Matlab starters to implement a rotation function?
Thanks in advance and please check my Stack Overflow post for more details, or just ask here.
Answers (0)
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!