摘要: 1 #绘制折线图或者散点图plot 2 import matplotlib.pyplot as pyl 3 import numpy as npy 4 x = [1,2,3,4,8] 5 y = [5,7,2,1,5] 6 #pyl.plot(x,y)#plot(x轴数据,y轴数据,展现形式) 7 #pyl.show() 8 # pyl.plot(x,y,"o")#加o为散点图 ... 阅读全文