버전 (3.08 KB) 작성자: Frederic Moisy
Simple modification of GINPUT with custum cursor pointer
다운로드 수: 4.7K
업데이트 날짜: 2020/9/14

라이선스 보기

MYGINPUT Graphical input from mouse with custum cursor pointer.

[X,Y] = MYGINPUT(N) gets N points from the current axes and returns the X- and Y-coordinates in length N vectors X and Y.

[X,Y] = MYGINPUT(N, POINTER) also specifies the cursor pointer, e.g. 'crosshair', 'arrow', 'circle' etc. See "Specifying the Figure Pointer" in Matlab's documentation to see the list of available pointers.

MYGINPUT is strictly equivalent to Matlab's original GINPUT, except that a second argument specifies the cursor pointer instead of the default 'fullcrosshair' pointer.

hold on
[x,y] = myginput(1,'crosshair');
hold off

MYGINPUT is copied from Matlab's GINPUT rev.

인용 양식

Frederic Moisy (2024). MYGINPUT (, MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2006a
모든 릴리스와 호환
플랫폼 호환성
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!
버전 게시됨 릴리스 정보

License update

example did not work properly