Re: Monte Carlo status indicator
- To: mathgroup at smc.vnet.net
- Subject: [mg54221] Re: Monte Carlo status indicator
- From: Mark Fisher <mark at markfisher.net>
- Date: Sun, 13 Feb 2005 22:17:08 -0500 (EST)
- References: <cuka3r$lhh$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Here's how I do it:
nb = NotebookCreate[WindowSize -> {400, 150} ];
NotebookWrite[nb, Cell["Working on interation", "Text"]]
Table[
NotebookWrite[nb, i, All];
Pause[.1i], (* your code here instead of Pause *)
{i, 10}];
NotebookClose[nb];
--Mark
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
>