Mercurial > hg > octave-shane
changeset 7284:a239de118fa6
[project @ 2007-12-10 23:27:18 by jwe]
author | jwe |
---|---|
date | Mon, 10 Dec 2007 23:27:18 +0000 |
parents | a1fdd4dabefb |
children | c8d362c69013 |
files | scripts/plot/__go_draw_axes__.m scripts/plot/surface.m |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -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
--- a/scripts/plot/surface.m +++ b/scripts/plot/surface.m @@ -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",