#設置橫縱坐標的名稱以及對應字體格式
font2 = {'family' : 'Times New Roman',
'weight' : 'normal',
'size' : 15
}
plt.xlabel('Year',font2)
plt.ylabel('Citations',font2)
fig = plt.figure(figsize=(20, 12), dpi=80)
# 設置坐標軸刻度
y = range(0,400,50)
plt.plot(table[2][:116], 'ro-', label='Einstein. Albert; 1905')
plt.yticks(y)
plt.legend()
#設置橫縱坐標的名稱以及對應字體格式
font2 = {'family' : 'Times New Roman',
'weight' : 'normal',
'size' : 15
}
plt.xlabel('Distance to the publication year',font2)
plt.ylabel('Citations',font2)
plt.show()