Mercurial > hg > octave-nkf
diff scripts/plot/surfnorm.m @ 9040:dbd0c77e575e
Cleanup documentation file plot.texi
Spellcheck
Stylecheck (Mostly double spaces after periods)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sun, 22 Mar 2009 14:40:24 -0700 |
parents | eb63fbe60fab |
children | 1bf0ce0930be |
line wrap: on
line diff
--- a/scripts/plot/surfnorm.m +++ b/scripts/plot/surfnorm.m @@ -21,8 +21,8 @@ ## @deftypefnx {Function File} {} surfnorm (@var{z}) ## @deftypefnx {Function File} {[@var{nx}, @var{ny}, @var{nz}] =} surfnorm (@dots{}) ## @deftypefnx {Function File} {} surfnorm (@var{h}, @dots{}) -## Find the vectors normal to a meshgridded surface. The meshed gridded -## surface is defined by @var{x}, @var{y}, and @var{z}. If @var{x} and +## Find the vectors normal to a meshgridded surface. The meshed gridded +## surface is defined by @var{x}, @var{y}, and @var{z}. If @var{x} and ## @var{y} are not defined, then it is assumed that they are given by ## ## @example @@ -31,13 +31,13 @@ ## @end example ## ## If no return arguments are requested, a surface plot with the normal -## vectors to the surface is plotted. Otherwise the componets of the normal +## vectors to the surface is plotted. Otherwise the components of the normal ## vectors at the mesh gridded points are returned in @var{nx}, @var{ny}, ## and @var{nz}. ## ## The normal vectors are calculated by taking the cross product of the -## diagonals of eash of teh quadrilaterals in the meshgrid to find the -## normal vectors of the centers of these quadrilaterals. The four nearest +## diagonals of each of the quadrilaterals in the meshgrid to find the +## normal vectors of the centers of these quadrilaterals. The four nearest ## normal vectors to the meshgrid points are then averaged to obtain the ## normal to the surface at the meshgridded points. ##