summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPurusharth Saxena2020-07-10 17:57:35 +0530
committerGitHub2020-07-10 17:57:35 +0530
commitdf17d26ca63204c5a7804c99ea52eb7871798019 (patch)
treef5beeb51f772b9b5644cb1d604c7b2852da0c73d
parent9fd03a92090cdbf0dd75b32fde4aefa3064076c5 (diff)
parent30fa06ae941c06392da473d3b1841d4e09639b66 (diff)
downloadFSF-mathematics-python-code-archive-df17d26ca63204c5a7804c99ea52eb7871798019.tar.gz
FSF-mathematics-python-code-archive-df17d26ca63204c5a7804c99ea52eb7871798019.tar.bz2
FSF-mathematics-python-code-archive-df17d26ca63204c5a7804c99ea52eb7871798019.zip
Merge pull request #62 from stayaryan/patch-8
Create Test2.py
-rw-r--r--FSF-2020/calculus/intro-to-calculus/limit/Test2.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/FSF-2020/calculus/intro-to-calculus/limit/Test2.py b/FSF-2020/calculus/intro-to-calculus/limit/Test2.py
new file mode 100644
index 0000000..0efb565
--- /dev/null
+++ b/FSF-2020/calculus/intro-to-calculus/limit/Test2.py
@@ -0,0 +1,26 @@
+from manimlib.imports import *
+class Test2(GraphScene):
+ CONFIG = {
+ "y_max" : 5,
+ "y_min" : -5,
+ "x_max" : 5,
+ "x_min" : -5,
+ "y_tick_frequency" : 1,
+ "x_tick_frequency" : 1,
+ "axes_color" : BLUE,
+ "num_graph_anchor_points": 3000, #this is the number of points that graph manim
+ "graph_origin" : ORIGIN,
+ "x_labeled_nums": list(range(-5,6)),
+ "y_labeled_nums": list(range(-5,6)),
+ "x_axis_label":"$x$",
+ "y_axis_label":"${ f }_{ 1 }(x)$"
+ }
+ def construct(self):
+ self.setup_axes()
+ graph_1 = self.get_graph(lambda x : x+2,
+ color = GREEN,
+ x_min = -5, # Domain 1
+ x_max = +5
+ )
+ self.play(ShowCreation(graph_1))
+ self.wait()