[R] animated plot
p.b.pynsent
p.b.pynsent at bham.ac.uk
Tue Nov 11 18:36:34 CET 2003
If you can do your analysis on an Apple then there are two bits of
software that might be helpful.
1) GraphicsConverter by Lemke Software ($30 shareware but comes free
with some Macs) will automatically join together many types of image
files to produce a QuickTime movie. Simply dump the images into to a
folder getting R to update the name so the list file order is your
time order. Then a single command will do the job.
2) iMovie (free) will allow you to drag and drop say .pdfs files into
a movie. This programme gives you considerable control over things like
the duration of each frame and the zoom factor but may be rather time
consuming for your purpose.
I would probably use both, joining the files with GraphicsConverter
and editing the movie with iMovie.
Whatever you do I think you will need a few Gigabytes of disk space
depending on your image and video resolution/compression.
On Tuesday, November 11, 2003, at 10:42 am, Jesus Fernandez Galvez
wrote:
> Thanks for you comments,
>
> I am visualising 4 months time series at 30 minutes intervals so it is
> impossible to create all this set of images (*.png, *.jpg, *.bmp,…).
> With
> R, I can change the speed of visualisation but I think I would need a
> screengrab tool to save the sequence. I manage to save as .pdf and the
> graph
> moves! But the file is huge. Could you please shedding some light on
> how to
> find screengrab tools (name of free software if possible)
>
> Thanks,
>
> Jesus
>
>
>
> -------------------
>> It's better to save in png or bmp than jpeg unless these are image()
>> plots
>
>> (and maybe even then).
>>
>> There are lots of tools to take a series of bitmapped plots and make
>> an
>> animation from them.
>>
>> A more elegant way is to use a screengrab tool which can grep a video
>> clip of an animation running in a R graphics window.
>>
>> On Tue, 11 Nov 2003, antonio rodriguez wrote:
>>
>>> Hi Jesus,
>>>
>>> Don't know if in R this is possible, but on a Linux machine you can
>>> do
> the
>>> following (no very elegant): save your individual images (i.e.: jan,
> feb,
>>> march, ...)in .jpeg format, then with some image manager package
>>> (i.e.
>>> Imagemagic) transfrom to .gif, and, finally, use whirlgif to paste in
> one
>>> file all your newly created individuals files (jan.gif, feb.gif,...),
> and
>>> you will get an animated plot.
>>>
>>> Saludos!
>>>
>>> Antonio Rodriguez
>>>
>>>> -----Mensaje original-----
>>>> De: r-help-bounces at stat.math.ethz.ch
>>>> [mailto:r-help-bounces at stat.math.ethz.ch]En nombre de Jesus
>>>> Fernandez
>>>> Galvez
>>>> Enviado el: lunes, 10 de noviembre de 2003 17:36
>>>> Para: r-help at stat.math.ethz.ch
>>>> Asunto: [R] animated plot
>>>>
>>>>
>>>> Dear colleagues,
>>>>
>>>> Is there any way of saving an animated plot with R? For instance,
>>>> any format
>>>> that could be read by Microsoft windows media or whatever.
>>>>
>>>> Cheers,
>>>>
>>>> Jesus
>>>>
>>>> ______________________________________________
>>>> R-help at stat.math.ethz.ch mailing list
>>>> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>>>> ---
>>>> Incoming mail is certified Virus Free.
>>>> Checked by AVG anti-virus system (http://www.grisoft.com).
>>>> Version: 6.0.536 / Virus Database: 331 - Release Date: 03/11/2003
>>>>
>>> ---
>>>
>>> ______________________________________________
>>> R-help at stat.math.ethz.ch mailing list
>>> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>>>
>>>
>>
>> --
>> Brian D. Ripley, ripley at stats.ox.ac.uk
>> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
>> University of Oxford, Tel: +44 1865 272861 (self)
>> 1 South Parks Road, +44 1865 272866 (PA)
>> Oxford OX1 3TG, UK Fax: +44 1865 272595
>>
>>
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
More information about the R-help
mailing list