changeset 6908:b2de26e67857

[project @ 2007-09-17 19:27:37 by jwe]
author jwe
date Mon, 17 Sep 2007 19:27:37 +0000
parents c8081f4c094f
children fc55a5e1760b
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Mon Sep 17 17:31:10 2007 +0000
+++ b/scripts/ChangeLog	Mon Sep 17 19:27:37 2007 +0000
@@ -1,3 +1,7 @@
+2007-09-17  John W. Eaton  <jwe@octave.org>
+
+	* plot/__go_draw_axes__.m: Omit linestyle clause for errorbar plots.
+
 2007-09-14  Ulrich Tipp  <ulrich.tipp@hsnr.de>
 
 	* miscellaneous/bincoeff.m: Fix calculation of bincoeff (n, k) for
--- a/scripts/plot/__go_draw_axes__.m	Mon Sep 17 17:31:10 2007 +0000
+++ b/scripts/plot/__go_draw_axes__.m	Mon Sep 17 19:27:37 2007 +0000
@@ -374,8 +374,7 @@
 		endif
 		data{data_idx} = [xdat, ydat, xlo, xhi, ylo, yhi]';
 		usingclause{data_idx} = "using ($1):($2):($3):($4):($5):($6)";
-		withclause{data_idx} = sprintf ("with xyerrorbars linestyle %d",
-						data_idx);
+		withclause{data_idx} = "with xyerrorbars";
 	      else
 		## Obtain the limits based on the exact x values.
 		if (xautoscale)
@@ -384,8 +383,7 @@
 		endif
 		data{data_idx} = [xdat, ydat, ylo, yhi]';
 		usingclause{data_idx} = "using ($1):($2):($3):($4)";
-		withclause{data_idx} = sprintf ("with yerrorbars linestyle %d",
-						data_idx);
+		withclause{data_idx} = "with yerrorbars";
 	      endif
 	    elseif (xerr)
 	      xlo = xdat-xldat;
@@ -400,8 +398,7 @@
 	      endif
 	      data{data_idx} = [xdat, ydat, xlo, xhi]';
 	      usingclause{data_idx} = "using ($1):($2):($3):($4)";
-	      withclause{data_idx} = sprintf ("with xerrorbars linestyle %d",
-					      data_idx);
+	      withclause{data_idx} = "with xerrorbars";
 	    else
 	      if (xautoscale)
 		[xmin, xmax, xminp] = get_data_limits (xmin, xmax, xminp, xdat);