How to move data tip in R2025b? (Or, how to restore legacy data tip behavior)
Show older comments
In previous versions of matlab, an existing data tip would move to a new point whenever I clicked on a new point in a graph or image, and I could also use the arrows on the keyboard to move the data tip one pixel at a time. In R2025b I get a new data tip each time I click somewhere in a plot, and there does not seem to be any way to move the data tips to a different point. How can I make the data tips behave like they did before? I never want to have hundreds of data tips in a plot, so holding shift while clicking in order to create a second data tip is not a problem.
Accepted Answer
More Answers (2)
Matt J
on 17 Nov 2025
You can activate the old-style figure toolbar exploration buttons, e.g.,
addToolbarExplorationButtons(gcf)
That seems to have the old datacursor behavior.
8 Comments
Kristin Kaspersen
on 17 Nov 2025
Matt J
on 17 Nov 2025
I haven't really seen any taskbar problems in WIn 11, nor do I really see how that encumbers the solution I proposed. The solution doesn't really require you to open more figure windows than you did originally.
Kristin Kaspersen
on 17 Nov 2025
Kristin Kaspersen
on 18 Nov 2025
Matt J
on 18 Nov 2025
Strange. Well, it definitely shouldn't do that (and doesn't for other people), so you might want to look into it.
Kristin Kaspersen
on 19 Nov 2025
Matt J
on 19 Nov 2025
OK, I think I managed to reprdouce it. In any case, did you try my other answer? It restores the old datatip behavior entirely.
Catalytic
on 17 Nov 2025
0 votes
there does not seem to be any way to move the data tips to a different point
Hold the shift key down while you press the arrow keys.
5 Comments
Kristin Kaspersen
on 18 Nov 2025
Catalytic
on 20 Nov 2025
I don't think that's possible. It looks quite intentional in the design that you cannot jump the data tip to another curve. Otherwise, if you did want to step along a single fixed curve, you would end up doing a lot of gymnastics with the arrow keys, depending on the shape of the curve.
Kristin Kaspersen
on 20 Nov 2025
Matt J
on 20 Nov 2025
In previous versions of Matlab, you could move the data tip to a different curve by clicking,
By clicking perhaps, but with the arrow keys?
Catalytic
on 20 Nov 2025
Also possibly useful -- I find in R2025b that when you hold down the shift key, any data tip you place will self-delete once the mouse button is released. This works both in images and line plots.
It doesn't give you the exact same experience as before, but it does provide a way to probe multiple points without the plot getting cluttered with data tips, and without the extra key strokes needed to explicitly delete data tips.
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!