changed graph 3 to plot line