plot2.R and plot2.png implemented