Functions for loading and preparing data.
Code and graphics for plot 1
Code and graphics for plot 2
Code and graphics for plot 3
Code and graphics for plot 4