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 Center および MATLAB AnswersVisual Exploration についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0