Helping to Create Line Animations
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Tien Tran
il 3 Gen 2016
Commentato: Walter Roberson
il 8 Gen 2016
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 Commenti
Risposta accettata
Walter Roberson
il 3 Gen 2016
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
1 Commento
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Animation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!