import numpy as np from matplotlib.pyplot import imshow, show x = np.linspace(0, 4, 100) xx = np.outer(x, x) vals = np.sinc(xx) imshow(vals) show()