Mercurial > hg > octave-lyh
comparison scripts/plot/scatter.m @ 10701:657e63dcfd88
scatter.m: Properly set default value markersize and marker type.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Sat, 12 Jun 2010 20:35:04 -0400 |
parents | da51afafca80 |
children | be55736a0783 |
comparison
equal
deleted
inserted
replaced
10700:a3c04f036352 | 10701:657e63dcfd88 |
---|---|
94 %! x = rand (10, 1); | 94 %! x = rand (10, 1); |
95 %! y = rand (10, 1); | 95 %! y = rand (10, 1); |
96 %! s = 10 - 10 * log (x.^2+y.^2); | 96 %! s = 10 - 10 * log (x.^2+y.^2); |
97 %! h = scatter (x, y, s, s, "s", "filled"); | 97 %! h = scatter (x, y, s, s, "s", "filled"); |
98 | 98 |
99 %!demo | |
100 %! x = rand (10, 1); | |
101 %! y = rand (10, 1); | |
102 %! s = 10 - 10 * log (x.^2+y.^2); | |
103 %! h = scatter (x, y, [], "r", "s", "filled"); | |
104 | |
105 %!demo | |
106 %! x = rand (10, 1); | |
107 %! y = rand (10, 1); | |
108 %! s = 10 - 10 * log (x.^2+y.^2); | |
109 %! h = scatter (x, y, [], "r", "s"); | |
110 |