http://blog.csdn.net/pipisorry/article/details/40005163 Matplotlib.pyplot画图实例 {使用pyplot模块} matplotlib绘制直线.条形/矩形区域 import numpy as np import matplotlib.pyplot as plt t , , .01) s = np.sin(2 * np.pi * t) plt.plot(t,s) # draw a thick red hline at y=0 th…