Add functionality to get_area()
so it supports areas bounded by all axes
#2811
Replies: 4 comments
-
One way I can think of doing this is the following (assuming the graph is on quadrants I or IV and the function increases, like the picture above): Let the wanted area be the region next to the curve bounded by the y axis of the function f(x) from y0 to y1, then:
This method can be generalized to all functions on any quadrant as well as increasing or decreasing with some extra logic. |
Beta Was this translation helpful? Give feedback.
-
Hi @JeroSQ |
Beta Was this translation helpful? Give feedback.
-
I can't assign issues but feel free to work on it. Devs need to decide if this feature can be implemented into the library or into manim-contrib |
Beta Was this translation helpful? Give feedback.
-
I don't think this is too specific to be implemented, but it should be implemented by rewriting |
Beta Was this translation helpful? Give feedback.
-
Description of proposed feature
Modify the function so it allows you to get the area of a function bounded by any axis. For example, an integral from y0 to y1 (I don't know if there's a proper name for this). Like such:

How can the new feature be used?
Would improve the graphing tool and add functionality.
Additional comments
This may be regarded as too specific. Let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions