the first R files to plot the graphs
the actual graphs