# 做一个简称plt import matplotlib.pyplot as plt import numpy #制作点数据 # Return evenly spaced numbers over a specified interval. x = numpy.linspace(-1,1,50) ## y = 2*x + 1 y = 5*x plt.plot(x,y) plt.show()
Matplotlib学习1-线图
猜你喜欢
转载自www.cnblogs.com/da-peng/p/9082964.html
今日推荐
周排行