GTRACK

Versión 1.0.0.0 (2,79 KB) por Jose Pina
Track mouse position and show coordinates in figure title.
6,2K descargas
Actualizado 1 jun 2007

Ver licencia

Nota del editor: This was a File Exchange Pick of the Week

GTRACK Track mouse position and show coordinates in figure title.

Once GTRACK is active the mouse position is constantly tracked and printed on the current figure title. A left-click will print the coordinates in the command line and store them. Clicking the mouse right button deactivates GTRACK.

USAGE
gtrack() tracks the mouse and prints coordinates in the command line.

clickData = gtrack() will return the click positions in clickData using UIWAIT. Matlab will be in wait mode until the user finishes clicking.

gtrack('newVar') tracks the mouse and creates a new variable in the base workspace called 'newVar' with the click coordinates. This mode does not use UIWAIT.

gtrack([],titleFormat) uses titleFormat as the format string for printing the mouse coordinates in the title.

Citar como

Jose Pina (2024). GTRACK (https://www.mathworks.com/matlabcentral/fileexchange/15099-gtrack), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R14SP3
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Visual Exploration en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: MATLAB Plot Tracing Utility

Inspiración para: Mouse Activity Tracking

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

Introduced format string for printing the mouse coordinates in the title.