App Developer - Mouse Hovering Over Surf Plot in UIAxes Causes Extreme Lag
古いコメントを表示
I have constructed a sub-app which is called from within a main app. Within this sub-app I have 3 UIAxes, each of which may be toggled between showing an image, with imagesc(), and showing the surface plot of that image, with surf().
This set-up works well, until I switch any of the axes to the surface plot and hover the mouse over the axis, at which point a significant lag (10-15 seconds?) occurs. This lag does not occur when I hover the mouse over the imagesc plot.
I have tried disabling interactivity with these axes, changing the way in which the surface plots are shaded, and changing the UIAxes to regular axes - none of these attempts worked.
Any advice would be hugely appreciated!
7 件のコメント
Adam Danz
2022 年 9 月 23 日
Could you describe this lag? The lag is between what?--moving the mouse and the cursor moving?
Scott Young
2022 年 9 月 23 日
編集済み: Scott Young
2022 年 9 月 23 日
Adam Danz
2022 年 9 月 23 日
If you load the surface plots and do not hover your mouse of the surface axes, is there a lag?
Scott Young
2022 年 9 月 23 日
Adam Danz
2022 年 9 月 23 日
After hovering the mouse over the surface plot, are there other lags within the app or within matlab othe than the slider? For example, can you execute something quickly in matlab's command window after hovering? Or can you do other things within your app after hovering? Or is the problem only with the slider that controls clim?
Scott Young
2022 年 9 月 23 日
Adam Danz
2022 年 9 月 23 日
It sounds like a callback or listener is responding to the mouse event. I can't dig deeper without looking at the app and I don't have much time now to do so.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!