Plotting list of lists against list

前端 未结 0 895
醉话见心
醉话见心 2021-02-15 04:52
x = [2000,2001,2002,2003]
y = [[1,2,3,4],[5,6,7,8],[9,10,11,12]]
for i in range(len(y[0])):
    plt.plot(x,[pt[i] for pt in y])
plt.show()

I\'m getting

相关标签:
回答
  • 消灭零回复
提交回复
热议问题