Ginput with snap to grid

Input points using your mouse on a mouse friendly grid. Points will 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

引用格式

Franklin Fabián Lucero Luna (2026). Ginput with snap to grid (https://ww2.mathworks.cn/matlabcentral/fileexchange/62851-ginput-with-snap-to-grid), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: Mouse-friendly FIGURE

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

Name changed