summaryrefslogtreecommitdiff
path: root/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves
diff options
context:
space:
mode:
authorSaarth Deshpande2020-06-30 15:05:16 +0530
committerSaarth Deshpande2020-06-30 15:05:16 +0530
commit461584098bd252301452eb3e6e0bfcd2d3c6f0c8 (patch)
tree305c79df5875b3abda8d0a78ab83d7903599c02d /FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves
parenta8f600583c29c5e399350453dd0472d4eac7eb85 (diff)
downloadFSF-mathematics-python-code-archive-461584098bd252301452eb3e6e0bfcd2d3c6f0c8.tar.gz
FSF-mathematics-python-code-archive-461584098bd252301452eb3e6e0bfcd2d3c6f0c8.tar.bz2
FSF-mathematics-python-code-archive-461584098bd252301452eb3e6e0bfcd2d3c6f0c8.zip
last-1 review
Diffstat (limited to 'FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves')
-rw-r--r--FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file1_parametric_circle.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file1_parametric_circle.py b/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file1_parametric_circle.py
index 40b5150..37d079e 100644
--- a/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file1_parametric_circle.py
+++ b/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file1_parametric_circle.py
@@ -11,12 +11,15 @@ class parametricCircle(ThreeDScene, GraphScene):
self.y_axis_label = ""
self.x_axis_width = 10
self.y_axis_height = 10
+ self.y_tick_frequency = 1.9
+ self.x_tick_frequency = 1.4
axes = []
- self.setup_axes()
- self.axes.scale(0.5).shift(3*LEFT)
- axes.append(self.axes)
+ # self.setup_axes()
+ ax = Axes(y_tick_frequency = 1, x_axis_width = 10, y_axis_height = 10, y_min = -5, x_max = 5, y_max = 5, x_tick_frequency = 1, x_axis_label = "", y_axis_label = "", x_min = -5, )
+ ax.scale(0.5).shift(3*LEFT)
+ axes.append(ax)
self.setup_axes()
self.axes.scale(0.3).shift(3*RIGHT + 2*UP)
axes.append(self.axes)
@@ -38,7 +41,7 @@ class parametricCircle(ThreeDScene, GraphScene):
asint = ParametricFunction(
lambda t: np.array([
t,
- np.sin(t),
+ 2*np.sin(t),
0
]), t_min = -np.pi, t_max = np.pi, color = GREEN_E
).shift(3*RIGHT + 2*UP).scale(0.4)
@@ -50,7 +53,7 @@ class parametricCircle(ThreeDScene, GraphScene):
acost = ParametricFunction(
lambda t: np.array([
t,
- np.cos(t),
+ 2*np.cos(t),
0
]), t_min = -np.pi, t_max = np.pi, color = BLUE
).shift(3*RIGHT + 2*DOWN).scale(0.4)