Mercurial > hg > octave-nkf
comparison scripts/plot/mesh.m @ 6390:334499d75c5c
[project @ 2007-03-07 18:11:28 by jwe]
author | jwe |
---|---|
date | Wed, 07 Mar 2007 18:11:29 +0000 |
parents | 44c91c5dfe1d |
children | b298a4c12fc3 |
comparison
equal
deleted
inserted
replaced
6389:f427b33aeb4c | 6390:334499d75c5c |
---|---|
29 ## @end deftypefn | 29 ## @end deftypefn |
30 | 30 |
31 ## Author: jwe | 31 ## Author: jwe |
32 | 32 |
33 function h = mesh (x, y, z) | 33 function h = mesh (x, y, z) |
34 | |
35 newplot (); | |
34 | 36 |
35 if (nargin == 1) | 37 if (nargin == 1) |
36 z = x; | 38 z = x; |
37 if (ismatrix (z)) | 39 if (ismatrix (z)) |
38 [nr, nc] = size (z); | 40 [nr, nc] = size (z); |