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

Home » Public Forums » archive » animation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
animation [message #40603] Mon, 23 August 2004 10:20
mary2747102 is currently offline  mary2747102
Messages: 8
Registered: August 2004
Junior Member
Hi!
I would like to animage the images that I get as an output in IDL
windows. I saw an example in "IDL programming techniques" by Dr.
Fanning (2 edition,page 105). However, from my understanding, this
example is for images that are in a database called "head". My
question is...how can I modify it, so that the images that I have in
the output windows, be included in this code? I guess I have to save
these output images first...in what format showld I do this?

Kind regards,
Mary



XInterAnimate, Set=[800,800,50],/Showload
yellow=GetColor('yellow',!D.Table_Size-2)
LoadCT,3,Ncolors=!D.Table_Size-2
For j=0,50 DO BEGIN
TVImage, BytScl(head[*,*,j],Top=!D.Table_Size-3)
XYOuts,0.1,0.1,/Normal,StrTrim(j,2),Color=yellow
XInteranimate,Frame=j,Window=!D.Window
ENDFOR
XInteranimate,50
end
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: overbar in ytitle
Next Topic: Max X-window width under OS X/X11

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

Current Time: Wed Oct 08 18:39:20 PDT 2025

Total time taken to generate the page: 0.00483 seconds