python画标签
时间:2021-09-17 16:24:04
收藏:0
阅读:59
plt.plot(w2,train2[0,:],label=‘A‘)
plt.plot(w2,train2[1,:],label=‘B‘)
plt.plot(w2,train2[2,:],label=‘C‘)
plt.legend()
plt.show()
label表示你想用的标记名称。
plt.legend()用于显示。
原文:https://www.cnblogs.com/hahaah/p/15303040.html
评论(0)