added plot3.R and plot3.png