Mercurial > hg > octave-nkf
diff scripts/plot/mesh.m @ 6405:b298a4c12fc3
[project @ 2007-03-14 16:51:28 by jwe]
author | jwe |
---|---|
date | Wed, 14 Mar 2007 16:51:30 +0000 |
parents | 334499d75c5c |
children | 93c65f2a5668 |
line wrap: on
line diff
--- a/scripts/plot/mesh.m +++ b/scripts/plot/mesh.m @@ -68,18 +68,10 @@ ## current figure. ca = gca (); - s = __uiobject_surface_ctor__ (ca); - - s.xdata = x; - s.ydata = y; - s.zdata = z; + tmp = __go_surface__ (ca, "xdata", x, "ydata", y, "zdata", z); set (ca, "view", [-37.5, 30]); - tmp = __uiobject_make_handle__ (s); - - __uiobject_adopt__ (ca, tmp); - if (nargout > 0) h = tmp; endif