Ginput with snap to grid
MOUSE_POINTS Input nodes from a grid.
Mouse_Points allows to input points using a variation of ginput Matlab function. The points will snap to the grid. The function returns the [n X Y] matrix (n = number of non repeated nodes, X = x coordinate, Y = y coordinate). The function is mouse friendly.
Left Click : add a point
Scroll : zoom in/out
Scroll Wheel click : pan
Double Scroll Wheel click : reset view to default view
Right click : set new default view
Enter : return [n X Y] matrix
Citation pour cette source
Franklin Fabián Lucero Luna (2024). Ginput with snap to grid (https://www.mathworks.com/matlabcentral/fileexchange/62851-ginput-with-snap-to-grid), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > Formatting and Annotation > Axes Appearance > Limits, Ticks, and Grids > Grid Lines, Tick Values, and Labels >
Tags
Remerciements
Inspiré par : Mouse-friendly FIGURE
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Name changed |