updated plot1.R - first working version of plot1.R

updated plot1.R - first working version of plot1.R