我是python的新手,我想编写一个程序,将两个数组中存在的元素相乘并绘制图形 我该如何更正代码?
import matplotlib.pyplot as plt
import numpy as np
x=(np.double[0.1,0.001,0.0001,0.0001,0.00001])
y=(np.double[0.1,0.001,0.0001,0.0001,0.00001])
m=len(x)
n=len(y)
for m in range(0,m):
for n in range(0,n):
plt.plot[x(m),y(n)]
plt.show()