File Exchange Pick of the Week

Our best user submissions

Tracking the mouse pointer

In MATLAB, with tooltips, you can know what the value of a line is at a given point:

Nogtrack.jpg

But if you want to know the value of an arbitrary point in a figure, you will want gtrack:

gtrack.JPG

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.

|
  • print

댓글

댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.