writing plot1 to image file
Adding plot1 image