comparison 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
comparison
equal deleted inserted replaced
3445:c3eed8ac845a 3446:5ee5afb3981a
15 ## You should have received a copy of the GNU General Public License 15 ## You should have received a copy of the GNU General Public License
16 ## along with Octave; see the file COPYING. If not, write to the Free 16 ## along with Octave; see the file COPYING. If not, write to the Free
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA
18 ## 02111-1307, USA. 18 ## 02111-1307, USA.
19 19
20 ## usage: sombrero (n) 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {} sombrero (@var{n})
21 ## 22 ##
22 ## Draw a `sombrero' in three dimensions using n grid lines. The 23 ## Draw a `sombrero' in three dimensions using @var{n} grid lines. The
23 ## function plotted is 24 ## function plotted is
24 ## 25 ##
26 ## @example
25 ## z = sin (sqrt (x^2 + y^2)) / (sqrt (x^2 + y^2)) 27 ## z = sin (sqrt (x^2 + y^2)) / (sqrt (x^2 + y^2))
28 ## @end example
29 ## @end deftypefn
26 30
27 ## Author: jwe 31 ## Author: jwe
28 32
29 function sombrero (n) 33 function sombrero (n)
30 34