diff scripts/plot/__go_draw_axes__.m @ 7284:a239de118fa6

[project @ 2007-12-10 23:27:18 by jwe]
author jwe
date Mon, 10 Dec 2007 23:27:18 +0000
parents 44fdc33e5207
children 5e90111a28b3
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m	Mon Dec 10 23:13:13 2007 +0000
+++ b/scripts/plot/__go_draw_axes__.m	Mon Dec 10 23:27:18 2007 +0000
@@ -524,8 +524,8 @@
 	       usingclause{data_idx} = "";
                if (isfield (obj, "facecolor"))
 		 if ((strncmp (obj.facecolor, "flat", 4)
-		     || strncmp (obj.facecolor, "interp", 6)) &&
-		     isfield (obj, "cdata"))
+		     || strncmp (obj.facecolor, "interp", 6))
+		     && isfield (obj, "cdata"))
 		   if (ndims (obj.cdata) == 2
 		       && (size (obj.cdata, 2) == nc
 			   && (size (obj.cdata, 1) == 1
@@ -622,8 +622,8 @@
 
              if (isfield (obj, "edgecolor"))
 	       if ((strncmp (obj.edgecolor, "flat", 4)
-		    || strncmp (obj.edgecolor, "interp", 6)) &&
-		   isfield (obj, "cdata"))
+		    || strncmp (obj.edgecolor, "interp", 6))
+		   && isfield (obj, "cdata"))
 		 if (ndims (obj.cdata) == 2
 		     && (size (obj.cdata, 2) == nc
 			 && (size (obj.cdata, 1) == 1