changeset 6438:14e5882b6269

[project @ 2007-03-23 14:26:11 by jwe]
author jwe
date Fri, 23 Mar 2007 14:26:11 +0000
parents 190dfe8b8f08
children a37c427ae9d1
files scripts/ChangeLog scripts/plot/__go_draw_figure__.m
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,5 +1,8 @@
 2007-03-23  John W. Eaton  <jwe@octave.org>
 
+	* plot/__go_draw_figure__.m: Send reset to gnuplot before every
+	plot, not just multiplots.
+
 	* plot/__go_draw_axes__.m: Use %g for label coordinates, not %d.
 
 	* plot/contour.m: Don't call drawnow.
--- a/scripts/plot/__go_draw_figure__.m
+++ b/scripts/plot/__go_draw_figure__.m
@@ -44,10 +44,12 @@
 	  endswitch
 	endfor
 
+	fputs (plot_stream, "reset;\n");
+
 	multiplot_mode = axes_count > 1;
 
 	if (multiplot_mode)
-	  fputs (plot_stream, "reset; set multiplot;\n");
+	  fputs (plot_stream, "set multiplot;\n");
 	endif
 
 	for i = 1:nkids