plot2 script and image
plot1 code refactor