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

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 Kommentare

Jan
Jan am 9 Mär. 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 am 10 Mär. 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:

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Mane
Mane am 10 Mär. 2014

0 Stimmen

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:

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 9 Mär. 2014

Beantwortet:

am 10 Mär. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by