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

Home » Public Forums » archive » Xinteranimate problem!!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Xinteranimate problem!! [message #18211] Fri, 10 December 1999 00:00 Go to previous message
mensar is currently offline  mensar
Messages: 3
Registered: December 1999
Junior Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dear all
<p>I would like to thank everyone in the group for the help they have given
me so far, particularly Liam Gumley. My latest problem is with XINTERANIMATE.
The program runs, but I seem to be getting an error which says that '<font color="#CC0000">only
one animation at a time is allowed'</font>. In the window I get the error
:
<p><font color="#FF6666">% Program caused arithmetic error: Floating divide
by 0</font><font color="#FF6666"></font>
<p><font color="#000000">I believe the xinteranimate is loading the sequence
22 times. The program is :-</font>
<br><font color="#FF6666">&nbsp;</font>
<br><font color="#FF6666">pro OnOpen</font><font color="#FF6666"></font>
<p><font color="#FF6666">&nbsp; ; Get the Filename</font>
<br><font color="#FF6666">&nbsp; openr, 1, 'E:/Temp/batch.rvd'</font>
<br><font color="#FF6666">&nbsp; datas=fltarr(3,36,49,22)</font>
<br><font color="#FF6666">&nbsp; readf, 1, datas</font>
<br><font color="#FF6666">&nbsp; close, 1</font>
<br><font color="#FF6666">&nbsp; h=rebin(reform(datas[2,*,*,*]), 72, 98,
22)</font>
<br><font color="#FF6666">&nbsp; loadct, 3</font>
<br><font color="#FF6666">; erase</font>
<br><font color="#FF6666">&nbsp; frames = fltarr(512, 512, 22)</font>
<br><font color="#FF6666">&nbsp; window, 1, TITLE='Bloodflow animation',
xsize=512, ysize=512</font>
<br><font color="#FF6666">&nbsp; XINTERANIMATE, set=[512,512,22]</font>
<br><font color="#FF6666">&nbsp; for i=0, 21 do begin shade_surf, h[*,*,i],
zrange=[-1,+1] &amp; frames[*,*,i]=tvrd() &amp; xinteranimate &amp; end</font><font color="#FF6666"></font>
<p><font color="#FF6666">end</font><font color="#FF6666"></font>
<p><font color="#000000">One other small thing that I have also experienced
is that the loadct command does not seem to load any colour map to my shaded
surface. It simply appears black and white.</font><font color="#000000"></font>
<p><font color="#000000">Any help in this matter would be most appreciated.</font>
<br><font color="#000000">cheers</font><font color="#000000"></font>
<p><font color="#000000">scott reid</font>
<p>--
<br> ************************************************************ ********
<br>&nbsp;Scott Reid
<br>&nbsp;Department of Mechanical Engineering
<br>&nbsp;University of Leeds
<br>&nbsp;LS2 9JT
<br>&nbsp;
<br>&nbsp;Tel: 0113 233 2179
<br>&nbsp;E-MAIL: mensar@leeds.ac.uk
<br>&nbsp;URL: <A HREF="http://www.mech-eng.leeds.ac.uk/mensar/index.html">http://www.mech-eng.leeds.ac.uk/mensar/index.html</A>
<br> ************************************************************ ********
<br>&nbsp;</html>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Updated CW_Field Replacements
Next Topic: Re: how to debug IDL with call_external?

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

Current Time: Fri Oct 10 23:55:20 PDT 2025

Total time taken to generate the page: 0.87347 seconds