# HG changeset patch # User dbateman # Date 1192820731 0 # Node ID 32da63705bf9d968a3880ffe477bcf345b946e8c # Parent 1f16da18d85d9bd468b91cd566e85d147de46903 [project @ 2007-10-19 19:05:21 by dbateman] diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -4,7 +4,7 @@ 2007-10-19 David Bateman - * plot/__bar__.m: Call newplot as needed. + * plot/__bar__.m, plot/fill.m: Call newplot as needed. 2007-10-17 Carlo de Falco diff --git a/scripts/plot/fill.m b/scripts/plot/fill.m --- a/scripts/plot/fill.m +++ b/scripts/plot/fill.m @@ -46,7 +46,7 @@ else args = varargin (iargs(i):iargs(i+1)-1); endif - + newplot (); [tmp, fail] = __patch__ (h, args{:}); if (fail) print_usage(); @@ -64,6 +64,7 @@ else args = varargin (iargs(i):iargs(i+1)-1); endif + newplot (); [tmp, fail] = __patch__ (gca (), args{:}); if (fail) print_usage();