アニメーションのグラフを動画で保存

조회 수: 103 (최근 30일)
Kouki
Kouki 2019년 11월 12일
댓글: Kouki 2019년 11월 12일
アニメーションで表現したグラフを動画で保存したいです.
動画の形式に特にこだわりはありません.
T=animatedline('Marker','o','Color','b','LineWidth',0.1);
grid on
x = [1 2 3 6 3 7 4 7 2 4 6 8 7 2 1];
y = [1 2 9 6 8 7 5 7 5 6 1 3 7 1 1];
xlim([0 10])
ylim([0 10])
for k = 1:length(x)
addpoints(T,x(k),y(k));
drawnow
pause(0.5);
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%plotしたものを動画で保存したい
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

채택된 답변

Yoshio
Yoshio 2019년 11월 12일
こちらが参考になるかと思います。
  댓글 수: 1
Kouki
Kouki 2019년 11월 12일
保存できました.
回答ありがとうございます.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 アニメーション에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!