comparison scripts/plot/stem.m @ 7001:8b0cfeb06365

[project @ 2007-10-10 18:02:59 by jwe]
author jwe
date Wed, 10 Oct 2007 18:03:02 +0000
parents 76e3d985ae56
children 93c65f2a5668
comparison
equal deleted inserted replaced
7000:e87f860624cc 7001:8b0cfeb06365
46 ## h = stem (x, y, "b"); 46 ## h = stem (x, y, "b");
47 ## @end example 47 ## @end example
48 ## @noindent 48 ## @noindent
49 ## plots 10 bars with heights from 2 to 20 49 ## plots 10 bars with heights from 2 to 20
50 ## (the color is blue, and @var{h} is a 2-by-10 array of handles in 50 ## (the color is blue, and @var{h} is a 2-by-10 array of handles in
51 ## which the first row holds the line handles and the 51 ## which the first row holds the line handles and
52 ## the second row holds the marker handles); 52 ## the second row holds the marker handles);
53 ## 53 ##
54 ## @example 54 ## @example
55 ## x = 1:10; 55 ## x = 1:10;
56 ## y = ones (size (x))*2.*x; 56 ## y = ones (size (x))*2.*x;
58 ## @end example 58 ## @end example
59 ## @noindent 59 ## @noindent
60 ## plots 10 stems with heights from 2 to 20 60 ## plots 10 stems with heights from 2 to 20
61 ## (the color is black, line style is @code{"-."}, and @var{h} is a 2-by-10 61 ## (the color is black, line style is @code{"-."}, and @var{h} is a 2-by-10
62 ## array of handles in which the first row holds the line handles and 62 ## array of handles in which the first row holds the line handles and
63 ## the second rows holds the marker handles); 63 ## the second row holds the marker handles);
64 ## 64 ##
65 ## @example 65 ## @example
66 ## x = 1:10; 66 ## x = 1:10;
67 ## y = ones (size (x))*2.*x; 67 ## y = ones (size (x))*2.*x;
68 ## h = stem (x, y, "-.k."); 68 ## h = stem (x, y, "-.k.");