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

106 次查看(过去 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!