from github to this gitea

This commit is contained in:
oscar.plaisant@icloud.com
2023-10-23 23:09:51 +02:00
commit a2ee0fa5ca
2898 changed files with 307871 additions and 0 deletions

23
manim Axes.md Normal file
View File

@@ -0,0 +1,23 @@
up:: [[manim mobjects]]
title:: "`Axes(x_range=(-3, 3), y_range(-3, 3))`"
#informatique/python
---
```python
ax = Axes(x_range=(-3, 3), y_range=(-3, 3))
```
# Exemple
```python
from manim import *
class TestScene(Scene):
def construct(self):
ax = Axes(x_range=(-3, 3), y_range=(-3, 3))
curve = ax.plot(lambda x: (x+2)*x*(x-2)/2, color=GREEN)
area = ax.get_area(curve, x_range=(-2, 0))
self.play(Create(ax), Create(curve))
self.play(Create(area))
```