Clean up and plot.