📜  将图例添加到 y 绘图 matplotlib - TypeScript 代码示例
📅  最后修改于: 2022-03-11 14:48:28.231000             🧑  作者: Mango
代码示例1
plt.plot(xs, y_1s, "-b", label="x^2")
plt.plot(xs, y_2s, "-g", label = "2x + 1")
plt.legend()