Helping to Create Line Animations
조회 수: 1 (최근 30일)
이전 댓글 표시
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?
.
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Animation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!