python-数组3

#利用数组进行数据处理 points=np.arange(-5,5,0.01)#1000个间隔相等的点 xs,ys=np.meshgrid(points,points)#np.meshgrid产生两个二维数组 #print('this is xs',xs) #print('this is ys:',ys) import matplotlib.pyplot as plt z=np.sqrt(xs**
相关文章
相关标签/搜索