ginput with normalized coordinates of the figure window.

Version 1.0.0 (4,57 ko) par Stijn Haenen
Graphical input from mouse.
43 téléchargements
Mise à jour 11 mai 2020

Afficher la licence

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','--');

Citation pour cette source

Stijn Haenen (2024). ginput with normalized coordinates of the figure window. (https://www.mathworks.com/matlabcentral/fileexchange/75469-ginput-with-normalized-coordinates-of-the-figure-window), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2020a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0