Beispiel #1
0

trans_m = [908, 921, 932, 931, 929, 990, 998]
trans_err = [13, 15, 20, 17, 28, 39, 48]

trans_m_5 = [572, 577, 580, 594, 601, 627, 665,]
trans_err_5 = [12, 9, 13, 18, 12, 14, 31,]

trans_m_k = [961, 971, 984, 988, 1008, 1030, 1172]
trans_err_k = [49, 80, 74, 113, 159, 248, 443]

trans_m_k_5 = [620, 630, 643, 656, 700, 724, 797]
trans_err_k_5 = [36, 38, 60, 108, 198, 196, 324]


fig = plt.figure(figsize=(4*1.5, 3*1.5))
ax = plt.gca()
plt.errorbar (nant_range, trans_m, yerr=trans_err, linewidth=4, color='blue', label='10MHz')
plt.errorbar (nant_range, trans_m_5, yerr=trans_err_5, linewidth=4, color='orange', label='5MHz')

plt.grid()
plt.xlabel('# Antennas')
plt.xlim([1,15])
plt.ylim([400, 1400])
plt.ylabel('RTT/2 (us)')
nospines(ax)

lg=ax.legend(loc='upper left',numpoints=1)
if lg is not None:
    lg.draw_frame(False)