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

조회 수: 11 (최근 30일)
Mane
Mane 2014년 3월 9일
답변: Mane 2014년 3월 10일
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