Create plot2.R

R code for the second plot. Data should be in the same folder.