changeset 7592:bf704d1c5e43

Bug fix, set splot user style to default
author kai@linux-pc
date Fri, 14 Mar 2008 08:00:50 -0400
parents 67403cfad8d7
children fdb6ff523237
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Thu Mar 13 13:35:27 2008 -0400
+++ b/scripts/ChangeLog	Fri Mar 14 08:00:50 2008 -0400
@@ -1,3 +1,8 @@
+2008-03-14  Kai Habel  <kai.habel@gmx.de>
+
+        * plot/__go_draw_axes__.m: Expicitly set gnuplot user
+        style to default to avoid wrong mesh color in some cases.
+
 2008-03-12  David Bateman  <dbateman@free.fr>
 
 	* geometry/griddata3.m: Use griddatan and not griddata
@@ -8,16 +13,14 @@
 	* plot/__go_draw_axes__.m: Use get to access hidden properties.
 	Use strcmpi when comparing string properties.
 
+	* io/csread.m, io/csvwrite.m, io/dlmwrite.m: Style fixes.
+
 2008-03-11  Kai Habel  <kai.habel@gmx.de>
 
         * plot/__go_draw_axes__.m: Plot surfaces in front of axes.
         Allow plotting of uniform colored mesh plots with and
         w/o hidden line removal.
 
-2008-03-11  John W. Eaton  <jwe@octave.org>
-
-	* io/csread.m, io/csvwrite.m, io/dlmwrite.m: Style fixes.
-
 2008-03-11  David Bateman  <dbateman@free.fr>
 
 	* io/dlmwrite.m, io/csvread.m, io/csvwrite.m: Files ported from
--- a/scripts/plot/__go_draw_axes__.m	Thu Mar 13 13:35:27 2008 -0400
+++ b/scripts/plot/__go_draw_axes__.m	Fri Mar 14 08:00:50 2008 -0400
@@ -881,12 +881,12 @@
 				       || (isnumeric (obj.facecolor)
 					   && all (obj.facecolor == 1)));
 	    hidden_removal = false;
-	
+            fputs (plot_stream, "set style increment default;\n");
             if (flat_interp_edge && facecolor_none_or_white)
 	      withclause{data_idx} = "with line palette";
 	      fputs (plot_stream, "unset pm3d\n");
 	      if (all (obj.facecolor == 1))
-                  hidden_removal = true;
+                hidden_removal = true;
               endif
 	    elseif (facecolor_none_or_white)
 	      edgecol = obj.edgecolor;