# HG changeset patch # User jwe # Date 1174658369 0 # Node ID 7caa5942d4dae89d8de578d497ce05a4f6ddda02 # Parent 71c052b5ce47d6ee0ebfa922e5979c0850cd2ca1 [project @ 2007-03-23 13:59:29 by jwe] diff -r 71c052b5ce47 -r 7caa5942d4da scripts/ChangeLog --- a/scripts/ChangeLog Fri Mar 23 12:54:03 2007 +0000 +++ b/scripts/ChangeLog Fri Mar 23 13:59:29 2007 +0000 @@ -1,3 +1,7 @@ +2007-03-23 John W. Eaton + + * plot/contour.m: Don't call drawnow. + 2007-03-22 John W. Eaton * plot/drawnow.m: Check and optionally, set, the __modified__ diff -r 71c052b5ce47 -r 7caa5942d4da scripts/plot/contour.m --- a/scripts/plot/contour.m Fri Mar 23 12:54:03 2007 +0000 +++ b/scripts/plot/contour.m Fri Mar 23 13:59:29 2007 +0000 @@ -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