Points and Lines Drawing Tools
版本 1.0.0.0 (5.6 KB) 作者:
Marco Chak Yan Yu
A simple code to implement points and point-to-point lines drawing in a figure.
gpoints is the function for drawing points,
gsortline is the function for drawing lines (lines are drawn by points clicking and connected by smoothing), and
DrawGUI is a demo.
- mouse left click to add a point
- mouse left click on a point and hold to
- movemouse right click on a point to remove
- keyboard input "s" to save the drawing
- keyboard input "r" to reset the drawing to previous saving
keyboard input "Delete" to delete the drawing
引用格式
Marco Chak Yan Yu (2024). Points and Lines Drawing Tools (https://www.mathworks.com/matlabcentral/fileexchange/42429-points-and-lines-drawing-tools), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Interactive Control and Callbacks 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |