<html lang="en"> <head> <title>Progress Bar - GNU Octave</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="GNU Octave"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="GUI-Development.html#GUI-Development" title="GUI Development"> <link rel="prev" href="I_002fO-Dialogs.html#I_002fO-Dialogs" title="I/O Dialogs"> <link rel="next" href="GUI-Utility-Functions.html#GUI-Utility-Functions" title="GUI Utility Functions"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <a name="Progress-Bar"></a> <p> Next: <a rel="next" accesskey="n" href="GUI-Utility-Functions.html#GUI-Utility-Functions">GUI Utility Functions</a>, Previous: <a rel="previous" accesskey="p" href="I_002fO-Dialogs.html#I_002fO-Dialogs">I/O Dialogs</a>, Up: <a rel="up" accesskey="u" href="GUI-Development.html#GUI-Development">GUI Development</a> <hr> </div> <h3 class="section">35.2 Progress Bar</h3> <p><a name="index-Progress-Bar-3077"></a> <!-- waitbar scripts/plot/waitbar.m --> <a name="doc_002dwaitbar"></a> <div class="defun"> — Function File: <var>h</var> = <b>waitbar</b> (<var>frac</var>)<var><a name="index-waitbar-3078"></a></var><br> — Function File: <var>h</var> = <b>waitbar</b> (<var>frac, msg</var>)<var><a name="index-waitbar-3079"></a></var><br> — Function File: <var>h</var> = <b>waitbar</b> (<var><small class="dots">...</small>, "FigureProperty", "Value", <small class="dots">...</small></var>)<var><a name="index-waitbar-3080"></a></var><br> — Function File: <b>waitbar</b> (<var>frac</var>)<var><a name="index-waitbar-3081"></a></var><br> — Function File: <b>waitbar</b> (<var>frac, hwbar</var>)<var><a name="index-waitbar-3082"></a></var><br> — Function File: <b>waitbar</b> (<var>frac, hwbar, msg</var>)<var><a name="index-waitbar-3083"></a></var><br> <blockquote><p>Return a handle <var>h</var> to a new waitbar object. The waitbar is filled to fraction <var>frac</var> which must be in the range [0, 1]. The optional message <var>msg</var> is centered and displayed above the waitbar. The appearance of the waitbar figure window can be configured by passing property/value pairs to the function. <p>When called with a single input the current waitbar, if it exists, is updated to the new value <var>frac</var>. If there are multiple outstanding waitbars they can be updated individually by passing the handle <var>hwbar</var> of the specific waitbar to modify. </p></blockquote></div> </body></html>