# HG changeset patch # User jwe # Date 1197329238 0 # Node ID a239de118fa61f0e4224043c26a5a711395a4042 # Parent a1fdd4dabefba2ca3d1fdfba475e69b6f768cb16 [project @ 2007-12-10 23:27:18 by jwe] diff -r a1fdd4dabefb -r a239de118fa6 scripts/plot/__go_draw_axes__.m --- 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 diff -r a1fdd4dabefb -r a239de118fa6 scripts/plot/surface.m --- a/scripts/plot/surface.m Mon Dec 10 23:13:13 2007 +0000 +++ b/scripts/plot/surface.m Mon Dec 10 23:27:18 2007 +0000 @@ -148,7 +148,7 @@ other_args = varargin(firststring:end); endif h = __go_surface__ (ax, "xdata", x, "ydata", y, "zdata", z, "cdata", c, - "facecolor","flat", other_args{:}); + "facecolor", "flat", other_args{:}); if (! ishold ()) set (ax, "view", [0, 90], "box", "off", "xgrid", "on",