final version of plot1.R - reads entire dataset