Code and figure for plot1 uploaded