Modified plot3.R and plot3.png files