[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: How can I get a progress bar
From: |
Carnë Draug |
Subject: |
Fwd: How can I get a progress bar |
Date: |
Mon, 16 May 2011 19:35:11 +0100 |
I forgot to send this to the mailing list when I answered before. The
patch does not show a status bar but displays a message about the
percentage of done. Looking back, you should replace round by floor on
the patch.
Carnë
---------- Forwarded message ----------
From: Carnë Draug <address@hidden>
Date: 2011/5/16
Subject: Re: How can I get a progress bar
To: Chethan S <address@hidden>
On 16 May 2011 13:22, Chethan S <address@hidden> wrote:
>
> I am using 'nlfilter' to carry out an image processing operation. As the
> image is very large the operation takes about half an hour to complete and
> show the output. But to ascertain the progress of the operation I find no
> way except to look at the blinking cursor at the terminal. For such
> operations MATLAB displays a small dialog box which shows the progress. Can
> I enable such a functionality in Octave? At least a progress line (a line
> from 0 moving towards 100 %) instead of blinking cursor would be OK.
Hi,
that function is part of the image package, not of octave core. I
attached a patch that should prints a message every 5%. You can change
that value in the following line (after applying the patch)
if(rem(percent_done, 5)==0 && percent_done != seen)
By the way, you can look into the function file to modify it to your
needs. You are now free to do so.
Carnë
verbose.patch
Description: Text Data