Mercurial > hg > octave-nkf
comparison scripts/plot/cylinder.m @ 12129:80fc70a53400
cylinder.m: Remove console output from demo.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Sat, 22 Jan 2011 10:02:12 -0500 |
parents | b0084095098e |
children | d0b799dafede |
comparison
equal
deleted
inserted
replaced
12128:e916491cbb99 | 12129:80fc70a53400 |
---|---|
36 ## | 36 ## |
37 ## Examples: | 37 ## Examples: |
38 ## | 38 ## |
39 ## @example | 39 ## @example |
40 ## @group | 40 ## @group |
41 ## disp ("plotting a cone") | |
42 ## [x, y, z] = cylinder (10:-1:0,50); | 41 ## [x, y, z] = cylinder (10:-1:0,50); |
43 ## surf (x, y, z); | 42 ## surf (x, y, z); |
43 ## title ("a cone") | |
44 ## @end group | 44 ## @end group |
45 ## @end example | 45 ## @end example |
46 ## @seealso{sphere} | 46 ## @seealso{sphere} |
47 ## @end deftypefn | 47 ## @end deftypefn |
48 | 48 |
84 endif | 84 endif |
85 | 85 |
86 endfunction | 86 endfunction |
87 | 87 |
88 %!demo | 88 %!demo |
89 %! disp ("plotting a cone") | |
90 %! [x, y, z] = cylinder (10:-1:0,50); | 89 %! [x, y, z] = cylinder (10:-1:0,50); |
91 %! surf (x, y, z); | 90 %! surf (x, y, z); |
91 %! title ("a cone") |