Made function that plots points in average speed graph.