필터 지우기
필터 지우기

Helping to Create Line Animations

조회 수: 2 (최근 30일)
Tien Tran
Tien Tran 2016년 1월 3일
댓글: Walter Roberson 2016년 1월 8일
I want to create a line animation, but it seems not act in my Matlab software as attached image. Can you help me explaining this problem? How can I get this function?
.

채택된 답변

Walter Roberson
Walter Roberson 2016년 1월 3일
animatedline was introduced in R2014b, which was after your release.
curve = line(nan,nan);
for i = 1 : length(x)
set(curve, 'xdata', x(1:i), 'ydata', y(1:i));
drawnow();
end
  댓글 수: 1
Walter Roberson
Walter Roberson 2016년 1월 8일
You should start a new question for this.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Animation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by