# HG changeset patch # User jwe # Date 1173299368 0 # Node ID df3445687c6efd8910d5337a387330cd1b2724cb # Parent 428b147d7e933e3d72949950b1c350fa6e160497 [project @ 2007-03-07 20:29:28 by jwe] diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,7 @@ 2007-03-07 John W. Eaton + * plot/newplot.m: Always reset next line color. + * testfun/assert.m: Check that number of dimensions match before checking dimensions. diff --git a/scripts/plot/newplot.m b/scripts/plot/newplot.m --- 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");