add_cross_hair( fig )

버전 1.0.0.0 (1.87 KB) 작성자: Chen Qi
This tool enables easily add/remove a mouse following cross-line.
다운로드 수: 158
업데이트 날짜: 2015/6/10

라이선스 보기

I found this tool especially useful when you want to compare 2 curves in 2 subplots. Just at command line input add_cross_hair then you will see a mouse following cross-line in x and y direction covering whole figure canvas.
To use other figure tools (such as zoom and pan tools), press 'space' on your keyboard and you temporarily toggle off this mouse function. When you press 'space' again, you will get the lovely lines again.

To totally remove this mouse following function for your current figures 'WindowButtonMotionFcn' function, just press 'esc' on your keyboard.

Hope you enjoy the function.

Chen

인용 양식

Chen Qi (2024). add_cross_hair( fig ) (https://www.mathworks.com/matlabcentral/fileexchange/51145-add_cross_hair-fig), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2015a
모든 릴리스와 호환
플랫폼 호환성
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