plot1-4 functions and png files