changeset 11693:550113e01d87 release-3-0-x

Bug fix, set splot user style to default
author kai@linux-pc
date Fri, 14 Mar 2008 08:02:18 -0400
parents 0cabd873264d
children 87e1ee0b2149
files scripts/ChangeLog scripts/plot/__go_draw_axes__.m
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -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
--- a/scripts/plot/__go_draw_axes__.m
+++ b/scripts/plot/__go_draw_axes__.m
@@ -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;