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

Home » Public Forums » archive » Re: xinteranimate and string
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: xinteranimate and string [message #40950] Tue, 21 September 2004 12:35 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Iminis Catun writes:

> Thanks, but I think I am missing something. At first I am using a
> window but then I transform the window into an image. So, how can I
> make XYOuts work regarding this? Is it still useful?
> Best regards,

Uh, I don't *think* that is what you have. Are you sure you don't
open the window *before* you draw graphics? And why is the window
you do open a different size from your animation window?

I would do this:

window, /FREE, /PIXMAP,XSIZE=400, YSIZE=500
myGraphicsWindow = !D. Window
XInteranimate, Set=[400, 500, 1100]
FOR j=0,1099 DO BEGIN

WSet, myGraphicsWindow
.
.my graphics procedure that draw into the window goes here!!!
.
.
.
XYOuts,100,100,/Normal,'hour'+StrTrim(j,2),Color=yellow


XINTERANIMATE, FRAME = j, Window=myGraphicsWindow

Endfor

XINTERANIMATE,0

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Determining length of a text file?
Next Topic: Opening a new window

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

Current Time: Fri Oct 10 07:56:33 PDT 2025

Total time taken to generate the page: 0.07960 seconds