WindowButtonDownFcn vs zoom or pan

4 次查看(过去 30 天)
Giuela
Giuela 2020-10-1
In my figure I have some little images; I've implemented WindowButtonDownFcn so when I click on an image, I do something different according to the image selected
The cursor position is checked with WindowButtonMotionFcn
Practically, every little image simulates a button with its callback function. I do this because the graphical aspect of my figure is better, and I can have a 'button' of different shape instead of the square or rectangular button shape. Moreover, I don't have the button outline.
Im my figure I have also an axis, used to plot data.
When I activate the zoom or the panning, the WindowButtonDownFcn function doesn't work, my 'buttons' don't work anymore until I deactivate the zoom or the pan.
This behaviour there is also if I set the zoom (or panning) on programmatically.
Is there a way to avoid this behaviour? I need the WindowButtonDownFcn ALWAYS working.
Thank you
  1 个评论
Ted Londner
Ted Londner 2024-5-28
I'm encountering an issue similar to this one. I'd be interested to hear if Giuela's question was ever answered.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Visual Exploration 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by