plot2 code and png