draw lines on points in GUI
3 次查看(过去 30 天)
显示 更早的评论
Hello
I'm working on a GUI, where I inserted a "pushbutton" that draws points on a "axes". then insert a second, "pushbutton" to insert lines with "getline" function. The lines are positioned on the points. I wonder how can I when inserting lines the coordinates [x, y] match. for example, when you click to draw the line the selected location will be exactly the position of the points.
I need to store the coordinates of the points when I'm drawing the lines
Thank you very much in advance
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!