App Designer or GUIDE- Store and Use Multiple Inputs from the edit box
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Rik
2019-3-24
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).
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!