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

10 views (last 30 days)
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 Comments
Jan
Jan on 9 Mar 2014
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 on 10 Mar 2014
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:

Sign in to comment.

Answers (1)

Mane
Mane on 10 Mar 2014
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:

Community Treasure Hunt

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

Start Hunting!