Disable just hover interactivity (but preserve dataTip on click)
25 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Nidhi Mittal
el 4 de Nov. de 2020
Hi AMM,
This functionality is available in 2018b and later releases.
Thanks,
Nidhi Mittal
Ver también
Categorías
Más información sobre Environment and Settings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!