Draw pictures using matplotlib.