Magic Keywords


In [1]:
%matplotlib inline
%config InlineBackend.figure_format = 'retina'

import matplotlib.pyplot as plt
import numpy as np

In [20]:
x=np.linspace(0,1,300)
for w in range(2,12,2):
    plt.plot(x,np.sin(np.pi*x)*np.sin(2*w*np.pi*x))



In [ ]: