图6.1 import matplotlib.pyplot as plt import numpy as np x=np.linspace(-2*np.pi, 2*np.pi, 200) y=np.sin(x) y1=np.cos(x) plt.subplot(121) plt.plot(x, y