Add data point to graph

9 次查看(过去 30 天)
Hi everyone, I wanted to create an application where the user can click in a plot and add his own points, lets say blue and red points. I will later get the position of each pont and store it in an array. Obviously this is way to big for someone to post a complete solution, i just want some hints though onto how to achieve that. Thanks in advance

采纳的回答

Walter Roberson
Walter Roberson 2012-1-8
ginput() is commonly used for getting points from the user.
You may wish to examine the MATLAB File Exchange, as getting points is a component of a number of the tools there.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by