matplotlib使用小帮手--给曲线添加标题
plt.figure() plt.plot(DATA1, label='LABEL1') plt.plot(DATA2, label='LABEL2') plt.legend(POSITION ...
plt.figure() plt.plot(DATA1, label='LABEL1') plt.plot(DATA2, label='LABEL2') plt.legend(POSITION ...