Plot1.R

changed the code to plot the chart into .png directly rather than copying from the screen