Datatips appear to be broken for geoscatter plots in 2024a

9 visualizzazioni (ultimi 30 giorni)
I am trying to get datatips to work on a geoscatter plot.
They almost do. I can hover over any portion of the graph and the hover over gives the correct infomation.
However, if I left click, use the datatip function or call datatip from the command line it places a black marker slightly offset from where it should be an shows no information.
I tried modifying the datatip template and that works correctly for hover over but I still cannot get a datatip to show up correctly in any other way. I took a screen shot below, the visible datatip is a hover over, the block dots below are what happens if I left click on a hover over or try to add a datatip by typing datatiip(scatter_object) at the prompt.
  1 Commento
Ashutosh Thakur
Ashutosh Thakur il 15 Lug 2024
Hi Nathan,
Can you provide some sample code in which this issue can be reproduced?
Thanks

Accedi per commentare.

Risposta accettata

Gayathri
Gayathri il 3 Set 2024
Modificato: Gayathri il 3 Set 2024
I was able to reproduce the issue in MATLAB R2024a, where the "datatip" does not appear exactly at the cursor click position, but instead shows up with an offset. I tested the same “geoscatter” plot in MATLAB R2024b Prerelease Update 3, and it is working fine. I am hopeful that this fix will also be present in the upcoming MATLAB R2024b stable release.
You can download the MATLAB R2024b Prerelease version from the below link.
The "datatip" is also being placed properly in MATLAB R2023b.
  1 Commento
Nathan Gustavson
Nathan Gustavson il 5 Set 2024
Thank you for following up on this, hopefully this makes it into the next release.
Having a company that follows through with details like this is really what makes a software company strong in my eyes.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Operating on Diagonal Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by