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:


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.

  • print
  • send email


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