App Designer UIAxes Interactions not working when UIFigure WindowButtonMotion callback set
I want to use the WindowButtonMotion callback to produce a ‘hover’ effect on various images that I’m using as buttons on an App I’m designing, but it looks like just turning on the UIFigure’s WindowButtonMotion callback completely disables interactivity (pan, rotate, etc.) with the UIAxes. I have a surface plot showing a 3D render of the data the user is visualizing, but it becomes completely non-interactive when I use buttonmotion callbacks to track mouse movements for the mouse hover.
I’ve tried various ways to get around this, including setting the UIAxes.View property as a function of mouse positions when the mouse is within the UIAxes, but this seems really clunky, and I can’t seem to work out how to ‘click & drag’ to interact with the surface plot correctly.
Any solutions to re-enable plot interactions? I’m working on Matlab 2019a.I want to use the WindowButtonMotion callback to produce a ‘hover’ effect on various images that I’m using as buttons on an App I’m designing, but it looks like just turning on the UIFigure’s WindowButtonMotion callback completely disables interactivity (pan, rotate, etc.) with the UIAxes. I have a surface plot showing a 3D render of the data the user is visualizing, but it becomes completely non-interactive when I use buttonmotion callbacks to track mouse movements for the mouse hover.
I’ve tried various ways to get around this, including setting the UIAxes.View property as a function of mouse positions when the mouse is within the UIAxes, but this seems really clunky, and I can’t seem to work out how to ‘click & drag’ to interact with the surface plot correctly.
Any solutions to re-enable plot interactions? I’m working on Matlab 2019a. I want to use the WindowButtonMotion callback to produce a ‘hover’ effect on various images that I’m using as buttons on an App I’m designing, but it looks like just turning on the UIFigure’s WindowButtonMotion callback completely disables interactivity (pan, rotate, etc.) with the UIAxes. I have a surface plot showing a 3D render of the data the user is visualizing, but it becomes completely non-interactive when I use buttonmotion callbacks to track mouse movements for the mouse hover.
I’ve tried various ways to get around this, including setting the UIAxes.View property as a function of mouse positions when the mouse is within the UIAxes, but this seems really clunky, and I can’t seem to work out how to ‘click & drag’ to interact with the surface plot correctly.
Any solutions to re-enable plot interactions? I’m working on Matlab 2019a. appdesigner, uiaxes, interactions, pan, zoom, windowbuttonmotion, 3drotate, callback events MATLAB Answers — New Questions