Mercurial > hg > octave-lyh
diff scripts/plot/__gnuplot_drawnow__.m @ 12301:3eb4049b5393 release-3-4-x
rename gnuplot_drawnow to __gnuplot_drawnow__
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 30 Jan 2011 04:22:39 -0500 |
parents | scripts/plot/gnuplot_drawnow.m@b0084095098e |
children | 5236c9518f88 b265b592c796 |
line wrap: on
line diff
copy from scripts/plot/gnuplot_drawnow.m copy to scripts/plot/__gnuplot_drawnow__.m --- a/scripts/plot/gnuplot_drawnow.m +++ b/scripts/plot/__gnuplot_drawnow__.m @@ -17,17 +17,13 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} {} drawnow () -## Update and display the current graphics. -## -## Octave automatically calls drawnow just before printing a prompt, -## when @code{sleep} or @code{pause} is called, or while waiting for -## command-line input. +## @deftypefn {Function File} {} __gnuplot_drawnow__ (@var{h}, @var{term}, @var{file}, @var{mono}, @var{debug_file}) +## Undocumented internal function. ## @end deftypefn ## Author: jwe -function gnuplot_drawnow (h, term, file, mono, debug_file) +function __gnuplot_drawnow__ (h, term, file, mono, debug_file) if (nargin < 4) mono = false; @@ -51,7 +47,7 @@ __go_draw_figure__ (h, fid, enhanced, mono); endif else - error ("gnuplot_drawnow: the gnuplot terminal, \"%s\", is not available", + error ("__gnuplot_drawnow__: the gnuplot terminal, \"%s\", is not available", gnuplot_trim_term (term)); endif unwind_protect_cleanup