|
11 | 11 | figure(1) |
12 | 12 | #errorbar(t, s, e, fmt='o') # vertical symmetric |
13 | 13 | #errorbar(t, s, None, f, fmt='o') # horizontal symmetric |
14 | | -#errorbar(t, s, e, f, fmt='o') # both symmetric |
15 | | -errorbar(t, s, [e,g], [f,h], fmt='--o') # both asymmetric |
| 14 | +errorbar(t, s, e, f, fmt='o') # both symmetric |
| 15 | +#errorbar(t, s, [e,g], [f,h], fmt='--o') # both asymmetric |
16 | 16 | #errorbar(t, s, [e,g], f, fmt='o', ecolor='g') # both mixed |
17 | 17 | #errorbar(t, s, e, [f,h], fmt='o') # both mixed |
18 | 18 | #errorbar(t, s, [e,g], fmt='o') # vertical asymmetric |
|
22 | 22 | ylabel('Height (m)') |
23 | 23 | title('Mean and standard error as a function of distance') |
24 | 24 |
|
| 25 | +figure(2) |
| 26 | +ax = subplot(111) |
| 27 | +ax.set_yscale('log') |
| 28 | +errorbar(t, s+2, e, f, fmt='o') # both symmetric |
25 | 29 |
|
26 | 30 | #savefig('errorbar_demo') |
27 | 31 | show() |
0 commit comments