Disable just hover interactivity (but preserve dataTip on click)
조회 수: 26 (최근 30일)
이전 댓글 표시
In R2020a (Update 4), is there a way to disable the appearance of data tips upon hover, but still allow them to appear when a point on a plot is clicked?
I've read the dataTipInteraction docs pretty carefully, but the description there makes it sound like all three triggers (hover, click, tap) are lumped together—I don't see a way to disable them individually. This is frankly a bit maddening, since I don't want or need to see a sequence of data tip popups[1] as I move the cursor across a figure window enroute to clicking on a particular point of interest. I just want them to appear when I click on the point. I already experimented with enabling/disabling the default interactivity for a given set of axes—but as with the description to which I linked above, this seems to affect all interactions together. Is it the case that hover, click and tap are lumped together by design? Or am I just being obtuse?
Thanks in advance for any guidance!
-AMM
[1] Sluggishly rendered, at that—and despite following Yair Altman's detailed writeup on this pretty carefully, I don't see any noticeable speed improvement at all. They're still dog-slow, and this is on a MacBook Pro with 8GB of memory running Mojave (10.14.6), with Source Control Integration disabled and the Java Heap Memory increased to 1GB (default is 768 MB).
댓글 수: 0
답변 (1개)
Nidhi Mittal
2020년 11월 4일
Hi AMM,
This functionality is available in 2018b and later releases.
Thanks,
Nidhi Mittal
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!