plot1 and 2 code and png