Mercurial > hg > octave-lyh
comparison scripts/plot/stem3.m @ 11587:c792872f8942
all script files: untabify and strip trailing whitespace
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:35:29 -0500 |
parents | fd0a3ac60b0e |
children | 22c50cbad2ce |
comparison
equal
deleted
inserted
replaced
11586:12df7854fa7c | 11587:c792872f8942 |
---|---|
25 ## | 25 ## |
26 ## For example, | 26 ## For example, |
27 ## | 27 ## |
28 ## @example | 28 ## @example |
29 ## @group | 29 ## @group |
30 ## theta = 0:0.2:6; | 30 ## theta = 0:0.2:6; |
31 ## stem3 (cos (theta), sin (theta), theta) | 31 ## stem3 (cos (theta), sin (theta), theta) |
32 ## @end group | 32 ## @end group |
33 ## @end example | 33 ## @end example |
34 ## | 34 ## |
35 ## @noindent | 35 ## @noindent |
36 ## plots 31 stems with heights from 0 to 6 lying on a circle. Color | 36 ## plots 31 stems with heights from 0 to 6 lying on a circle. Color |
37 ## definitions with RGB-triples are not valid! | 37 ## definitions with RGB-triples are not valid! |
38 ## @seealso{bar, barh, stem, plot} | 38 ## @seealso{bar, barh, stem, plot} |
39 ## @end deftypefn | 39 ## @end deftypefn |
40 | 40 |
41 function h = stem3 (varargin) | 41 function h = stem3 (varargin) |
51 endif | 51 endif |
52 | 52 |
53 endfunction | 53 endfunction |
54 | 54 |
55 %!demo | 55 %!demo |
56 %! theta = 0:0.2:6; | 56 %! theta = 0:0.2:6; |
57 %! stem3 (cos (theta), sin (theta), theta) | 57 %! stem3 (cos (theta), sin (theta), theta) |