import numpy as np import matplotlib.pyplot as plt X = np.linspace(-np.pi, np.pi, 256, endpoint=True) C,S = np.cos(X), np.sin(X) plt.plot(X,C) plt.plot(X,S) plt.show() #### Space so we can show off the cool graph and have enough room #### When you run this we produce a big graph
Just PressRun.