In MATLAB, with tooltips, you can know what the value of a line is at a given point:
But if you want to know the value of an arbitrary point in a figure, you will want gtrack:
This is a nice little utility function that can be put on your MATLAB path, and then invoked with a few keystrokes at the command line. I like how the title keeps the X,Y formatted such that as you move the mouse the values do not jump around the title as significant figures in the location change.
i like this code but how can i get it plz help me
The link to gTrack is in between the two images.
Doug