Mercurial > hg > octave-nkf
diff scripts/plot/slice.m @ 9051:1bf0ce0930be
Grammar check TexInfo in all .m files
Cleanup documentation sources to follow a few consistent rules.
Spellcheck was NOT done. (but will be in another changeset)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 27 Mar 2009 22:31:03 -0700 |
parents | dbd0c77e575e |
children | 923c7cb7f13f |
line wrap: on
line diff
--- a/scripts/plot/slice.m +++ b/scripts/plot/slice.m @@ -30,7 +30,7 @@ ## as the array @var{v} in the "meshgrid" format or vectors. The ## parameters @var{xi}, etc respect a similar format to @var{x}, etc, ## and they represent the points at which the array @var{vi} is -## interpolated using interp3. The vectors @var{sx}, @var{sy}, and +## interpolated using interp3. The vectors @var{sx}, @var{sy}, and ## @var{sz} contain points of orthogonal slices of the respective axes. ## ## If @var{x}, @var{y}, @var{z} are omitted, they are assumed to be @@ -57,12 +57,14 @@ ## ## Examples: ## @example +## @group ## [x, y, z] = meshgrid (linspace (-8, 8, 32)); ## v = sin (sqrt (x.^2 + y.^2 + z.^2)) ./ (sqrt (x.^2 + y.^2 + z.^2)); ## slice (x, y, z, v, [], 0, []); ## [xi, yi] = meshgrid (linspace (-7, 7)); ## zi = xi + yi; ## slice (x, y, z, v, xi, yi, zi); +## @end group ## @end example ## @seealso{interp3, surface, pcolor} ## @end deftypefn