changeset 7041:32da63705bf9

[project @ 2007-10-19 19:05:21 by dbateman]
author dbateman
date Fri, 19 Oct 2007 19:05:31 +0000
parents 1f16da18d85d
children e54cc03d53f6
files scripts/ChangeLog scripts/plot/fill.m
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Fri Oct 19 18:24:19 2007 +0000
+++ b/scripts/ChangeLog	Fri Oct 19 19:05:31 2007 +0000
@@ -4,7 +4,7 @@
 
 2007-10-19  David Bateman  <dbateman@free.fr>
 
-	* plot/__bar__.m: Call newplot as needed.
+	* plot/__bar__.m, plot/fill.m: Call newplot as needed.
 
 2007-10-17  Carlo de Falco  <kingcrimson@tiscali.it>
 
--- a/scripts/plot/fill.m	Fri Oct 19 18:24:19 2007 +0000
+++ b/scripts/plot/fill.m	Fri Oct 19 19:05:31 2007 +0000
@@ -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();