Create plot2.R. Use functions across plotting scripts