add plot3 files, slight fix to plot2.R code for clarity