Finally fixed the graph1 and graph2 axes. Still need to add a way to make them animate at the same time.