import matplotlib.pyplot as plt
V = [[10,20,30,40],[30,40,50,50,70]] # It may consist n lists, each list with m values
I = [[1,2,3,4],[3,4,5,6,7]] # It may consist n lists, each list with m values
for t in list(zip(V,I)):
plt.plot(*t)
plt.show()
[V
和I
上方包含2个列表,每个列表包含4个元素。我想在同一XY图中绘制V
和I
。 V和I数据将具有2个图。 ]