interactive(False)
-if 1:
+if 0:
figure(figsize=(5.0, 3.5))
subplots_adjust(top=0.93, bottom=0.12, left=0.10, right=0.98)
data = cv.flatten()
print 'good channels:', c
figure(figsize=(3.5, 2.0))
- subplots_adjust(top=0.98, bottom=0.18, left=0.16, right=0.98)
+ subplots_adjust(top=0.98, bottom=0.18, left=0.13, right=0.99)
#x = range(len(means))
- errorbar(good_x, good_means, yerr=good_stdds, fmt='.', label='Good')
- errorbar(bad_x, bad_means, yerr=bad_stdds, fmt='x', label='Bad')
+ errorbar(good_x, good_means,
+ yerr=good_stdds,
+ label='Good',
+ fmt='.',
+ markersize=4,
+ linewidth=0.4,
+ capsize=1,
+ )
+ errorbar(bad_x, bad_means,
+ yerr=bad_stdds,
+ label='Bad',
+ fmt='x',
+ markersize=4,
+ linewidth=0.4,
+ capsize=1,
+ )
#hlines([-10, 10], 0, 96, linewidth=1.0, color='g')
hlines([0], 0, 96, linewidth=0.4, color='black')
xlim((0, 96))
- xticks(range(0, 97, 16))
+ xticks(range(0, 90, 16))
+ xlabel('Channel index')
- yticks(range(-200, 60, 50), fontsize='small')
+ yticks(range(-200, 60, 50),
+ fontsize='small',
+ position=(0.01,0),)
ylim((-200, 80))
+ ax = gca()
+ ax.yaxis.set_label_coords(-0.100, 0.5)
+ ylabel(r'$V_{oos}$, $\bar x$, $\sigma$ (mV)')
legend(loc='lower left', frameon=False, fontsize='small')
- xlabel('Channel index')
- ylabel(r'$V_{oos}$, $\bar x$, $\sigma$ (mV)')
#title('%i acceptable channels' % c)
text(48, -100, '%i acceptable\nchannels' % c,
horizontalalignment='center',