Mercurial > hg > octave-lyh
diff scripts/plot/mesh.m @ 2311:2b5788792cad
[project @ 1996-07-11 20:18:38 by jwe]
author | jwe |
---|---|
date | Thu, 11 Jul 1996 20:18:38 +0000 |
parents | 5cffc4b8de57 |
children | 5ca126254d15 |
line wrap: on
line diff
--- a/scripts/plot/mesh.m +++ b/scripts/plot/mesh.m @@ -17,18 +17,18 @@ ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA ### 02111-1307, USA. -function mesh (x, y, z) +## usage: mesh (x, y, z) +## +## Surface plot. If x, y, and z are matrices with the same dimensions, +## then corresponding elements represent vertices of the plot. If x and +## y are vectors, then a typical vertex is (x(j), y(i), z(i,j)). Thus, +## columns of z correspond to different x values and rows of z correspond +## to different y values. +## +## See also: plot, semilogx, semilogy, loglog, polar, meshgrid, meshdom, +## contour, bar, stairs, gplot, gsplot, replot, xlabel, ylabel, title - ## usage: mesh (x, y, z) - ## - ## Surface plot. If x, y, and z are matrices with the same dimensions, - ## then corresponding elements represent vertices of the plot. If x and - ## y are vectors, then a typical vertex is (x(j), y(i), z(i,j)). Thus, - ## columns of z correspond to different x values and rows of z correspond - ## to different y values. - ## - ## See also: plot, semilogx, semilogy, loglog, polar, meshgrid, meshdom, - ## contour, bar, stairs, gplot, gsplot, replot, xlabel, ylabel, title +function mesh (x, y, z) if (nargin == 1) z = x;