import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.add_subplot(111)
plt.grid(True)
plt.hold(False)
x = np.arange(-3, 3, 0.01)
for n in range(15):
    y = np.sin(np.pi * x * n) / (np.pi * x * n)
line, = ax.plot(x, y)
plt.draw()
plt.pause(0.5)
Visualising 10 dimensional data with matplotlib