调出画板
import matplotlib.pyplot as plt
fig1=plt.figure()
fig2=plt.figure()
plt.show()
折线图
普通折线图
plt.plot([1,2,3,4,5],[300,400,200,150,330])
plt.show()
坐标轴设置,双纵轴
ax1 = plt.gca()
ax2 = ax1.twinx()
ax1.set(xlabel='ax1_x',ylabel='ax1_y')
ax2.set(xlabel='ax2_x', ylabel='ax2_y')
ax1.plot([2,3,4,5],