Animating a line (arrow)
조회 수: 10 (최근 30일)
이전 댓글 표시
Hello,
I am new to matlab and trying to animate an arrow by running it in a 'for' loop. Arrow being a line with start and end co-ordinates mentioned and the co-ordinates of end point being a variable in the for loop. While doing so the images overlap each other rather than clearing the previous one. I tried using 'clear figure (clf)' at the end of the loop and it works, but gives a blank figure in the end which is something that I am trying to avoid. Is there a way to deal with it without the use of clf?
Thank you
Regards,
Sanjeev
댓글 수: 0
답변 (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!