added the plot1 code and image