GTRACK

버전 1.0.0.0 (2.79 KB) 작성자: Jose Pina
Track mouse position and show coordinates in figure title.
다운로드 수: 6.2K
업데이트 날짜: 2007/6/1

라이선스 보기

편집자 메모: 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.

인용 양식

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

MATLAB 릴리스 호환 정보
개발 환경: R14SP3
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Visual Exploration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

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