📅  最后修改于: 2022-03-11 14:46:02.470000             🧑  作者: Mango
fig, ax = plt.subplots()
fig.set_tight_layout(False)
X = np.linspace(-np.pi, np.pi, 256,endpoint=True)
C,S = np.cos(X), np.sin(X)
ax.plot(X,C)
ax.plot(X,S)
plt.show()