ginput with normalized coordinates of the figure window.
バージョン 1.0.0 (4.57 KB) 作成者:
Stijn Haenen
Graphical input from mouse.
This function is an adapted version of the ginput function. The outut coordinates are the normalized coordinates of the figure window, instead of the x- and y-coordinate. This function can be used for adding annotations in the figure, for example:
a=ginput_norm(2);
annotation(figure1,'line',[a(1,1) a(2,1)],...
[a(1,2) a(2,2)],'LineStyle','--');
引用
Stijn Haenen (2025). ginput with normalized coordinates of the figure window. (https://jp.mathworks.com/matlabcentral/fileexchange/75469-ginput-with-normalized-coordinates-of-the-figure-window), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2020a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!| バージョン | 公開済み | リリース ノート | |
|---|---|---|---|
| 1.0.0 |
