MATLAB: 2D plots : Hovering and index information

hoverinformationmouse

Hello,
I wonder if there is a method to add information when we hover the mouse over plots, for example 2D plot. The X and Y coordinates are shown, but it there a method to add more information diplayed (the index of the point for example)
Cheers