How update curve(replot) by dragging the points on it

11 次查看(过去 30 天)
Hi all!!! I have the point coordinates. Based on them I fit the curve by splines. After plotting the curve, by mouse click dragging the point positions, I want to replot my curve. In other words, I want to see the changes after moving the point. What can you suggest to do? Maybe refreshdata() will help... ?
It's very important, please don't ignore my question!
  2 个评论
Jan
Jan 2014-3-9
If the question is important for you, adding more details is a good strategy. You guess, that refreshdata() could be useful. Why do you think so? Where do you want to insert this command? How did you implement the possibility to move the points? How is the curve plotted?
Mane
Mane 2014-3-10
First of all, thanks for your reply. Attached is my graph, where I want to move 'Points', after that I want to see curve changes (curve is plotting based on these 'Points').
When I search in the Internet the ways of solving my problem, I saw this post, which is similar to my problem:

请先登录,再进行评论。

回答(1 个)

Mane
Mane 2014-3-10
First of all, thanks for your reply. Attached is my graph, where I want to move 'Points', after that I want to see curve changes (curve is plotting based on these 'Points').
When I search in the Internet the ways of solving my problem, I saw this post, which is similar to my problem:

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by