Python 绘制函数图形

1安装依赖库 pip3 install numpy pip3 install matplotlib 2.实验一个例子 import numpy as np import pylab as pl x=list(range(0,6)) y=[] for index in x: y.append(x[index]*x[index]) pl.plot(x,y) pl.title("y=x*x") pl.x
相关文章
相关标签/搜索