Code to create plot2.png