plot 3 code and png