How do I save animated line graph in GIF figure format

3 ビュー (過去 30 日間)
srinivas REDDY
srinivas REDDY 2020 年 8 月 16 日
コメント済み: srinivas REDDY 2020 年 8 月 18 日
I want to save the out put figure into GIF figure format kindly help
h = animatedline;
h1=animatedline('Color','r','Marker','o');
h2=animatedline('Color','g','Marker','o');
axis([0,2,-1,3])
x = linspace(0,2,100);
y = x.^2-1;
x1=0:0.001:1.0;
x2=2:-0.001:1.0;
x3=-1:0.001:0;
y1= x1.^2-1;
y2=x2.^2-1;
grid on
for k = 1:length(x)
addpoints(h,x(k),y(k));
drawnow
hold on
end
for k = 1:length(x1)
addpoints(h1,x1(k),y1(k));
drawnow
hold on
end
for k = 1:length(x2)
addpoints(h2,x2(k),y2(k));
drawnow
hold on
end
  2 件のコメント
srinivas REDDY
srinivas REDDY 2020 年 8 月 18 日
thanks for reply,
i am unable get, could please elabarate in this file

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAnimation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by