You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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','--');
Cite As
Stijn Haenen (2026). ginput with normalized coordinates of the figure window. (https://in.mathworks.com/matlabcentral/fileexchange/75469-ginput-with-normalized-coordinates-of-the-figure-window), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (4.57 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
