App Designer or GUIDE- Store and Use Multiple Inputs from the edit box
Show older comments
I am trying to create a plot or figure in the plot, from which the user inputs the the x and y coordinates to plot a point using only two edit boxes. How can you program the edit box to allow it to store a number of (x,y) coordinates without clearing the figure plotted? Refrences and help are appreciated.
2 Comments
Rik
on 24 Mar 2019
What have you tried so far? If plotting a point removes your plot, you probably didn't use hold.
Also I would suggest using the handle of the line object that plot returns to move the point around on later calls (unless you want multiple user-selected points).
Patrick Perales
on 26 Mar 2019
Answers (0)
Categories
Find more on Graphics Object Properties 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!