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

Home » Public Forums » archive » Re: Simple animation?
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: Simple animation? [message #32108 is a reply to message #32095] Tue, 10 September 2002 20:02 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Liam E. Gumley (Liam.Gumley@ssec.wisc.edu) writes:

> Shawn wrote:
>> I recently tried to animate the change in my data with time. I
>> found that if I plotted to the same window, it would over plot the old
>> data, which was good, but it also redraws the axis every time as well,
>> which causes a lot of "flashing". Is it possible to tell IDL to only
>> redraw the data and to leave the axis alone?
>
> Try plotting the first dataset with PLOT, and subsequent datasets with
> OPLOT.

Well, that wouldn't animate the plot, really. Just
show more and more data piled on top of it.

Try this. Create a pixmap window the same size
as your display window. Draw your plots in the
pixmap window, then use the DEVICE COPY technique
to copy the contents of the pixmap window to the
display window. This will result in a flicker-free
animation. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: having IDL output to another X11 window
Next Topic: Re: Ascii-import

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

Current Time: Sat Oct 11 15:57:10 PDT 2025

Total time taken to generate the page: 0.96261 seconds