MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Monte Carlo status indicator

  • To: mathgroup at
  • Subject: [mg54221] Re: Monte Carlo status indicator
  • From: Mark Fisher <mark at>
  • Date: Sun, 13 Feb 2005 22:17:08 -0500 (EST)
  • References: <cuka3r$lhh$>
  • Sender: owner-wri-mathgroup at

Here's how I do it:

nb = NotebookCreate[WindowSize -> {400, 150} ];
NotebookWrite[nb, Cell["Working on interation", "Text"]]
     NotebookWrite[nb, i, All];
     Pause[.1i], (* your code here instead of Pause *)
     {i, 10}];


plizak wrote:
> I want to somehow display how far I am in a MC simulation.
> I could just print the iterating variable in my for loop, but then this
> just outputs waaaaaaay too many lines cluttering the output.  Is there
> a way to Print overtop a line (i.e. replace a line of output)?
> or maybe a plot that slowly changes to make a pretty display?
> Cheers and thanks,
> Peter

  • Prev by Date: Re: temporary file location
  • Next by Date: ParametricPlot Problem
  • Previous by thread: Re: FW: Monte Carlo status indicator
  • Next by thread: Importing binary file is toooooo slow...