Mercurial > hg > octave-nkf
comparison scripts/plot/sphere.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 | a3435f7017c4 |
children | 16f53d29049f |
comparison
equal
deleted
inserted
replaced
9039:51dc9691f23f | 9040:dbd0c77e575e |
---|---|
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {[@var{x}, @var{y}, @var{z}] =} sphere (@var{n}) | 20 ## @deftypefn {Function File} {[@var{x}, @var{y}, @var{z}] =} sphere (@var{n}) |
21 ## @deftypefnx {Function File} {} sphere (@var{h}, @dots{}) | 21 ## @deftypefnx {Function File} {} sphere (@var{h}, @dots{}) |
22 ## Generates three matrices in @code{meshgrid} format, such that | 22 ## Generates three matrices in @code{meshgrid} format, such that |
23 ## @code{surf (@var{x}, @var{y}, @var{z})} generates a unit sphere. | 23 ## @code{surf (@var{x}, @var{y}, @var{z})} generates a unit sphere. |
24 ## The matrices of @code{@var{n}+1}-by-@code{@var{n}+1}. If @var{n} is | 24 ## The matrices of @code{@var{n}+1}-by-@code{@var{n}+1}. If @var{n} is |
25 ## omitted then a default value of 20 is assumed. | 25 ## omitted then a default value of 20 is assumed. |
26 ## | 26 ## |
27 ## Called with no return arguments, @code{sphere} call directly | 27 ## Called with no return arguments, @code{sphere} call directly |
28 ## @code{surf (@var{x}, @var{y}, @var{z})}. If an axes handle is passed | 28 ## @code{surf (@var{x}, @var{y}, @var{z})}. If an axes handle is passed |
29 ## as the first argument, the the surface is plotted to this set of axes. | 29 ## as the first argument, the surface is plotted to this set of axes. |
30 ## @seealso{peaks} | 30 ## @seealso{peaks} |
31 ## @end deftypefn | 31 ## @end deftypefn |
32 | 32 |
33 function [xx, yy, zz] = sphere (varargin) | 33 function [xx, yy, zz] = sphere (varargin) |
34 | 34 |