identification of curve in a graph
显示 更早的评论
i want to draw many curves (each curve has its own function)on the same graph and then pick one of them by mouse and identify it (identify the function it was built with). thank you.
回答(1 个)
Andreas Goser
2012-5-15
0 个投票
You need the commands PLOT, HOLD und GINPUT.
2 个评论
Lydia H
2012-7-30
I have the same question. but GINPUT can't identify the curves.
Walter Roberson
2012-7-30
You can take the coordinates returned by ginput() and find the distance to the closest point on any of the curves; that will tell you which curve it is.
类别
在 帮助中心 和 File Exchange 中查找有关 Data Exploration 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!