Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Progess bar in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg79939] Re: Progess bar in Mathematica
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Thu, 9 Aug 2007 05:20:00 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <f9c08h$5n9$1@smc.vnet.net>

Dr. Wolfgang Hintze wrote:
> Is it possible to generate a kind of progess indicator in Mathematica?

A progress indicator or progress bar can be generated by the built-in 
function *ProgressIndicator*? See ref/ProgressIndicator in the 
documentation center or online at
http://reference.wolfram.com/mathematica/ref/ProgressIndicator.html

> I could use Print[] but this scrolls the screen.

You could use *WriteString* and the standard output stream. For 
instance, the following expression will write a sequence of numbers on 
one line.

WriteString["stdout", "Here we are: "]
Do[WriteString["stdout", StringJoin[ToString[n], " .. "]], {n, 10}]
WriteString["stdout", "The End!"]

Here we are: 1 .. 2 .. 3 .. 4 .. 5 .. 6 .. 7 .. 8 .. 9 .. 10 .. The End!

> Im looking for something like 
> 
>     Application.StatusBar = "Please be patient..."
<snip>

The equivalent function in Mathematica must be *WindowStatusArea*. See 
ref/WindowStatusArea in the documentation center or online at 
http://reference.wolfram.com/mathematica/ref/WindowStatusArea.html

-- 
Jean-Marc


  • Prev by Date: Re: Progess bar in Mathematica
  • Next by Date: Failure to convert certain symbols to InputForm when using when using AutoGeneratedPackage->True
  • Previous by thread: Re: Progess bar in Mathematica
  • Next by thread: why DateListPlot is so slow?