plot1.png from updated code