Borrar filtros
Borrar filtros

Helping to Create Line Animations

2 visualizaciones (últimos 30 días)
Tien Tran
Tien Tran el 3 de En. de 2016
Comentada: Walter Roberson el 8 de En. de 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?
.

Respuesta aceptada

Walter Roberson
Walter Roberson el 3 de En. de 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 comentario
Walter Roberson
Walter Roberson el 8 de En. de 2016
You should start a new question for this.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Animation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by