adding code and PNG for plot1