def construct(self):
    self.setup_axes(animate=True)
    func_graph = self.get_graph(self.func_to_graph, self.function_color)
    func_graph2 = self.get_graph(self.func_to_graph2)
    vert_line = self.get_vertical_line_to_graph(TAU, func_graph, color=YELLOW)
    graph_lab = self.get_graph_label(func_graph, label='\\cos(x)')
    graph_lab2 = self.get_graph_label(func_graph2, label='\\sin(x)', x_val=(- 10), direction=(UP / 2))
    two_pi = TexMobject('x = 2 \\pi')
    label_coord = self.input_to_graph_point(TAU, func_graph)
    two_pi.next_to(label_coord, (RIGHT + UP))
    self.play(ShowCreation(func_graph), ShowCreation(func_graph2))
    self.play(ShowCreation(vert_line), ShowCreation(graph_lab), ShowCreation(graph_lab2), ShowCreation(two_pi))
def construct(self):
    self.setup_axes(animate=True)
    func_graph = self.get_graph(self.func_to_graph, self.function_color)
    func_graph2 = self.get_graph(self.func_to_graph2)
    vert_line = self.get_vertical_line_to_graph(TAU, func_graph, color=YELLOW)
    graph_lab = self.get_graph_label(func_graph, label='\\cos(x)')
    graph_lab2 = self.get_graph_label(func_graph2, label='\\sin(x)', x_val=(- 10), direction=(UP / 2))
    two_pi = TexMobject('x = 2 \\pi')
    label_coord = self.input_to_graph_point(TAU, func_graph)
    two_pi.next_to(label_coord, (RIGHT + UP))
    self.play(ShowCreation(func_graph), ShowCreation(func_graph2))
    self.play(ShowCreation(vert_line), ShowCreation(graph_lab), ShowCreation(graph_lab2), ShowCreation(two_pi))