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

Home » Public Forums » archive » Re: Overwriting printings
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: Overwriting printings [message #20460 is a reply to message #20449] Thu, 22 June 2000 00:00 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Simon de Vet <simon@mathstat.dal.ca> writes:

> I've been playing around with a montecarlo simulation. Since it is very
> boring to watch the program to do nothing while calculating 1000000
> iterations, I have it outputing the current result, which I can watch
> stream by. While the program is probably slowed down by this output, the
> psychological effect more than compensates for it.
>
> However, with 1000000 iterations come 1000000 lines of screen output,
> which is a little ackward.
>
> Is there a way to get IDL to overwrite the previous print output, rather
> than starting a new line? I'm running IDL in Linux..

Since you are on Unix, you can try STATUSLINE, available from my web
page. It does exactly this sort of thing.

http://cow.physics.wisc.edu/~craigm/idl/idl.html (under Misc)

If the output truly dominates the processing speed then of course you
could only output every 10th or 100th iteration. You're still not
missing much if there are 10^6 iterations.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: MINIMUM DISTANCE BETWEEN TWO CURVES
Next Topic: Elliptic integral codes?

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

Current Time: Fri Oct 10 07:49:17 PDT 2025

Total time taken to generate the page: 0.31980 seconds