【发布时间】:2021-01-15 22:21:58
【问题描述】:
def a(t, A, B, C, At, Bt):
while:
calculations
return t, A, B, C, At, Bt
打印(def(t, A, B, C, At, Bt))
我返回了几个 numpy.arrays。并想以表格形式绘制它们
B, = plt.plot(t, B)
C, = plt.plot(t, C)
plt.legend(handles=[ B, C, A],
labels=[ 'B', 'C', 'A'])
【问题讨论】:
-
您的具体问题是什么?你有一些玩具数据来说明你的问题吗?
标签: python-3.x numpy matplotlib