标签:
import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 2*np.pi, 100) sinX = np.sin(x) cosX = np.cos(x) plt.plot(x, sinX) plt.plot(x, cosX) plt.show()
matplotlib curve.py
原文地址:http://www.cnblogs.com/zhangchunbo/p/4215909.html