Final version of plot3.png and plot3.R