Contents
import matplotlib.pyplot as plt
import numpy as np

xs = np.linspace(0, np.pi, 50)

fig, ax = plt.subplots()

for n in [1, 3, 5]:
    a = 1.0/n
    
    ys = a*np.sin(n*xs)

    ax.plot(xs, ys, label=f'1/{n} sin({n}x)')

ax.legend()
fig.show()