draw lines on points in GUI

6 views (last 30 days)
Alvaro Martins Delgado Neto
Answered: Walter Roberson on 19 Jan 2016
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

Answers (1)

Walter Roberson
Walter Roberson on 19 Jan 2016

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!