python画图matplolib
http://python.jobbole.com/85106/
1.画二维图
2.画三维图
我的电脑只能在jupyter notebook上面运行才能看的到,常规import库
%matplotlib inline import matplotlib.pyplot as plt from mpl_toolkits import mplot3d
准备好需要的x y z轴数据,用list就好
ax = plt.axes(projection='3d') ax.set_xlabel('x-label') ax.set_ylabel('y-label') ax.set_zlabel('z-label') ax.scatter3D(xlist, ylist, zlist, c=zlist, cmap='Greens')