@@ -120,11 +120,11 @@ Examples to illustrate the use of GrapheScenes in Manim
120
120
self.setup_axes(animate=False)
121
121
curve1 = self.get_graph(lambda x : 4*x-x**2, x_min=0,x_max=4)
122
122
curve2 = self.get_graph(lambda x : 0.8*x**2-3*x+4, x_min=0,x_max=4)
123
- line1 = self.get_vertical_line_to_graph(2,curve1,DashedLine,color=YELLOW)
124
- line2 = self.get_vertical_line_to_graph(3,curve1,DashedLine,color=YELLOW)
125
- area1 = self.get_area(curve1,0.3,0.6, dx_scaling=10, area_color=BLUE)
126
- area2 = self.get_area(curve2,2,3, bounded=curve1)
127
- self.add(curve1,curve2,line1,line2,area1,area2)
123
+ line1 = self.get_vertical_line_to_graph(2, curve1, DashedLine, color=YELLOW)
124
+ line2 = self.get_vertical_line_to_graph(3, curve1, DashedLine, color=YELLOW)
125
+ area1 = self.get_area(curve1, 0.3, 0.6, dx_scaling=10, area_color=BLUE)
126
+ area2 = self.get_area(curve2, 2, 3, bounded=curve1)
127
+ self.add(curve1, curve2, line1, line2, area1, area2)
128
128
129
129
.. manim :: Plot6HeatDiagram
130
130
:quality: medium
0 commit comments