1import numpy as np
2import matplotlib.pyplot as plt
3
4x = np.arange(0, 7, 0.01)
5
6plt.subplot(2, 1, 1)
7plt.plot(x, np.sin(x))
8
9plt.subplot(2, 2, 3)
10plt.plot(x, np.cos(x))
11
12plt.subplot(2, 2, 4)
13plt.plot(x, np.sin(x)*np.cos(x))
14