Mercurial > hg > octave-lyh
comparison scripts/plot/meshc.m @ 11587:c792872f8942
all script files: untabify and strip trailing whitespace
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:35:29 -0500 |
parents | fd0a3ac60b0e |
children | b0084095098e |
comparison
equal
deleted
inserted
replaced
11586:12df7854fa7c | 11587:c792872f8942 |
---|---|
16 ## along with Octave; see the file COPYING. If not, see | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {} meshc (@var{x}, @var{y}, @var{z}) | 20 ## @deftypefn {Function File} {} meshc (@var{x}, @var{y}, @var{z}) |
21 ## Plot a mesh and contour given matrices @var{x}, and @var{y} from | 21 ## Plot a mesh and contour given matrices @var{x}, and @var{y} from |
22 ## @code{meshgrid} and a matrix @var{z} corresponding to the @var{x} and | 22 ## @code{meshgrid} and a matrix @var{z} corresponding to the @var{x} and |
23 ## @var{y} coordinates of the mesh. If @var{x} and @var{y} are vectors, | 23 ## @var{y} coordinates of the mesh. If @var{x} and @var{y} are vectors, |
24 ## then a typical vertex is (@var{x}(j), @var{y}(i), @var{z}(i,j)). Thus, | 24 ## then a typical vertex is (@var{x}(j), @var{y}(i), @var{z}(i,j)). Thus, |
25 ## columns of @var{z} correspond to different @var{x} values and rows of | 25 ## columns of @var{z} correspond to different @var{x} values and rows of |
26 ## @var{z} correspond to different @var{y} values. | 26 ## @var{z} correspond to different @var{y} values. |
27 ## @seealso{meshgrid, mesh, contour} | 27 ## @seealso{meshgrid, mesh, contour} |
28 ## @end deftypefn | 28 ## @end deftypefn |
29 | 29 |
30 function h = meshc (varargin) | 30 function h = meshc (varargin) |