Mercurial > hg > octave-lyh
changeset 6434:7caa5942d4da
[project @ 2007-03-23 13:59:29 by jwe]
author | jwe |
---|---|
date | Fri, 23 Mar 2007 13:59:29 +0000 |
parents | 71c052b5ce47 |
children | 71888a0ab040 |
files | scripts/ChangeLog scripts/plot/contour.m |
diffstat | 2 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2007-03-23 John W. Eaton <jwe@octave.org> + + * plot/contour.m: Don't call drawnow. + 2007-03-22 John W. Eaton <jwe@octave.org> * plot/drawnow.m: Check and optionally, set, the __modified__
--- a/scripts/plot/contour.m +++ b/scripts/plot/contour.m @@ -44,7 +44,6 @@ ## @seealso{contourc,line,plot} ## @end deftypefn - ## Author: shaia function retval = contour (varargin) @@ -57,9 +56,10 @@ newplot (); - ## decode contourc output format + ## Decode contourc output format. i1 = 1; while (i1 < length (c)) + clev = c(1,i1); clen = c(2,i1); @@ -73,9 +73,6 @@ i1 += c(2,i1)+1; endwhile - drawnow (); - - ## folowing DM's suggestion to surpress output if none asked for if (nargout > 0) retval = c; endif