Effacer les filtres
Effacer les filtres

How do you animate a plot?

6 vues (au cours des 30 derniers jours)
jameskl
jameskl le 18 Sep 2014
Commenté : dpb le 18 Sep 2014
I want to animate a plot(x,y). The two are data sets. x is a 1 row 10 column matrix and y has 400+ rows and 10 columns. Plotting the function gives me 400 lines. Which is a lot. I want to make either a GIF or video of each line being plotted.
So in other words I want to see matlab plot the first row then the second row then third and so on. I have seen a lot of source code for GIFs and AVI videos but my matlab skills are basic. Could someone help me.
  1 commentaire
dpb
dpb le 18 Sep 2014
Start with
and see where get stuck...almost certainly enough there in the examples for what you describe.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Animation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by