Message Boards Message Boards

how to make an animation with multiple pictures as frames?

Posted 11 years ago

I would like to make a animation (.gif maybe) to show the graphic changing between each iteration, the graphic is data driven by a .xlsx file, each sheet generates a graph, multi-sheet .xlsx generates multiple pictures. Could anyone show me how to make a animation out of it? A simple animation like frame by frame .gif would be fine enough! Thanks a lot!

POSTED BY: Wenchang Zhang
2 Replies

The function you need is ListAnimate.

ListAnimate[Table[Plot[Sin[n x], {x, 0, 10}], {n, 5}]]

The table is a list of graphics and ListAnmiate plays through them. If you want to export that, you can give it a name and then just import into a gif file.

Cheers,

Marco

POSTED BY: Marco Thiel
Posted 11 years ago

Thanks a lot Marco, that works nice!

POSTED BY: Wenchang Zhang
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract