comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » how to animate/loop plots (not images)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to animate/loop plots (not images) [message #6922 is a reply to message #6815] Fri, 30 August 1996 00:00 Go to previous messageGo to previous message
peter is currently offline  peter
Messages: 80
Registered: February 1994
Member
Thorsten Becker (becker@geophysik.uni-frankfurt.de) wrote:
: Robert Moss wrote:
: >
: > Charlotte DeMott wrote:
: > >
: > > I have a series of simple 2D line plots that I would like to animate.
: > > I'm currently writing the plots to a postscript file, and then using
: > > some external applications to convert them to (unfortunately large)
: > > tiff files and then loop them. Is there a simpler way to do this in
: > > IDL? The manuals talk about how to loop a series of images stored
: > > in a single array, but this isn't what I'm dealing with.
: > >
: > > Thanks for any insight on this problem.
: > >
: > > Charlotte
: > > demott@olympic.atmos.colostate.edu
: >
: > You can use XINTERANIMATE to do this. The trick is to plot your
: > images to a pixmap, then use TVRD to get the pixmap and load it
: > into XINTERANIMATE.
: >

: Take care using xinteranimate/xanimate if you have a lot of plots to
: combine. It is very memory consuming and may cause your (small) system's
: X11 to crash. (Did it with a 250 images 500x500 picture on a 32MB
: PowerPC running AIX.) Works fine on a big machine. Another way would be
: to convert your Postscript files using a shell script and gs. Or save as
: a tiff/gif from IDL, whatever. After that use special tools to produce
: GIF-animation (e.g. gifmerge) or MPEGs. This has the advantage of being
: more "exportable".

If they are simple plots, then just plot them. IDL is fast enough to
plot many frames a second of simple graphics. More often you'll need to
slow it down than speed it up. For slightly smoother graphics, maybe
plot to a hidden pixmap and then copy it to the screen window.

Peter
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Widget problem
Next Topic: [Q] Colormaps and setting !D.N_COLORS

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:30:27 PDT 2025

Total time taken to generate the page: 0.00410 seconds