Files
function-plotter/README.md

18 lines
482 B
Markdown
Raw Normal View History

# A function plotter in python
A recreational programming project.
2026-01-29 22:51:06 +01:00
The idea is to implement a simple math expression language and simple features to plot functions.
2026-01-29 22:51:06 +01:00
For now a simple matplotlib based implementation is provided.
Example:
```
from plotter.matplotlib import plot_expression
2026-02-06 02:28:50 +01:00
plot_expression("abs(sin(x)) + (5 * exp(-100*x^2) * cos(x))", start=-7, stop=7, increment=0.001)
2026-01-29 22:51:06 +01:00
```
2026-02-06 02:28:50 +01:00
![Function plotted in the [-7.0, 7.0] range with 0.001 increments](./plot_example.png)