Mercurial > octave-nkf
diff scripts/plot/sombrero.m @ 3446:5ee5afb3981a
[project @ 2000-01-17 09:42:43 by jwe]
author | jwe |
---|---|
date | Mon, 17 Jan 2000 09:42:48 +0000 |
parents | 8b262e771614 |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/scripts/plot/sombrero.m Mon Jan 17 09:06:52 2000 +0000 +++ b/scripts/plot/sombrero.m Mon Jan 17 09:42:48 2000 +0000 @@ -17,12 +17,16 @@ ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA ## 02111-1307, USA. -## usage: sombrero (n) +## -*- texinfo -*- +## @deftypefn {Function File} {} sombrero (@var{n}) ## -## Draw a `sombrero' in three dimensions using n grid lines. The +## Draw a `sombrero' in three dimensions using @var{n} grid lines. The ## function plotted is ## +## @example ## z = sin (sqrt (x^2 + y^2)) / (sqrt (x^2 + y^2)) +## @end example +## @end deftypefn ## Author: jwe