Plots and Code for plots 1-4