added the plot2 code and image