Mercurial > hg > octave-lyh
diff scripts/plot/mesh.m @ 7110:0e63f1126f01
[project @ 2007-11-06 22:36:22 by jwe]
author | jwe |
---|---|
date | Tue, 06 Nov 2007 22:36:22 +0000 |
parents | 5436efbf35e3 |
children | c7e5e638a8d0 |
line wrap: on
line diff
--- a/scripts/plot/mesh.m +++ b/scripts/plot/mesh.m @@ -35,10 +35,14 @@ newplot (); tmp = surface (varargin{:}); - ax = get(tmp, "parent"); - set (tmp, "FaceColor", "none"); - set (tmp, "EdgeColor", "flat"); + + ax = get (tmp, "parent"); + + set (tmp, "facecolor", "none"); + set (tmp, "edgecolor", "flat"); + set (ax, "view", [-37.5, 30]); + if (nargout > 0) h = tmp; endif