comparison scripts/plot/surface.m @ 7284:a239de118fa6

[project @ 2007-12-10 23:27:18 by jwe]
author jwe
date Mon, 10 Dec 2007 23:27:18 +0000
parents 0c733917b6c8
children 5e90111a28b3
comparison
equal deleted inserted replaced
7283:a1fdd4dabefb 7284:a239de118fa6
146 other_args = {}; 146 other_args = {};
147 if (firststring < nargin) 147 if (firststring < nargin)
148 other_args = varargin(firststring:end); 148 other_args = varargin(firststring:end);
149 endif 149 endif
150 h = __go_surface__ (ax, "xdata", x, "ydata", y, "zdata", z, "cdata", c, 150 h = __go_surface__ (ax, "xdata", x, "ydata", y, "zdata", z, "cdata", c,
151 "facecolor","flat", other_args{:}); 151 "facecolor", "flat", other_args{:});
152 152
153 if (! ishold ()) 153 if (! ishold ())
154 set (ax, "view", [0, 90], "box", "off", "xgrid", "on", 154 set (ax, "view", [0, 90], "box", "off", "xgrid", "on",
155 "ygrid", "on", "zgrid", "on"); 155 "ygrid", "on", "zgrid", "on");
156 endif 156 endif