[R] how do I make a movie out of a timeseries of 2D data?

Sarah Goslee sarah.goslee at gmail.com
Thu Jan 12 15:46:34 CET 2012


[deleted the annoying cross-posting]

On Thu, Jan 12, 2012 at 9:38 AM, Michael <comtech.usa at gmail.com> wrote:
> Hi all,
>
> I have an array of 10000 x 200 x 200 numbers... which is a time-series of
> 200x200 2D data...
>
> The 1st dimension is the time index.
>
> Is there a way to make a movie out of these data - i.e. playback 10000
> frames(200x200) at a playback rate per second?

I'd use R to create the sequence of images you need (named sequentially),
then use ImageMagick's animate function.
http://www.imagemagick.org/www/animate.html

But you don't tell us what you are trying to do, so I have no way of knowing
if that will work for you.

Sarah

-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list