Mercurial > hg > octave-nkf
changeset 6394:df3445687c6e
[project @ 2007-03-07 20:29:28 by jwe]
author | jwe |
---|---|
date | Wed, 07 Mar 2007 20:29:28 +0000 |
parents | 428b147d7e93 |
children | a8dd70bacc1e |
files | scripts/ChangeLog scripts/plot/newplot.m |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,7 @@ 2007-03-07 John W. Eaton <jwe@octave.org> + * plot/newplot.m: Always reset next line color. + * testfun/assert.m: Check that number of dimensions match before checking dimensions.
--- a/scripts/plot/newplot.m +++ b/scripts/plot/newplot.m @@ -24,6 +24,7 @@ function newplot () if (nargin == 0) + __next_line_color__ (true); cf = gcf (); fnp = get (cf, "nextplot"); switch (fnp) @@ -42,7 +43,6 @@ case "add" case "replacechildren" case "replace" - __next_line_color__ (true); __uiobject_axes_init__ (ca, "replace"); otherwise error ("newplot: unrecognized nextplot property for current axes");