An open API service indexing awesome lists of open source software.

https://github.com/definetlynotai/math_to_graph

A powerful tool designed to receive mathematical formulae and construct precise and dynamic graphs
https://github.com/definetlynotai/math_to_graph

algorithms convertor graph math python side-project simple

Last synced: 6 months ago
JSON representation

A powerful tool designed to receive mathematical formulae and construct precise and dynamic graphs

Awesome Lists containing this project

README

          

# Math_to_Graph 📎

Welcome to `Math_to_Graph` 🌐,
a cutting-edge tool
designed to turn any math formula into a complex math graph.
Crafted with python.
This comprehensive guide is here to equip you with everything you need to use `Math_to_Graph` effectively.


GitHub Issues
GitHub Tag
GitHub Commit Activity
GitHub Language Count
GitHub Branch Check Runs
GitHub Repo Size

## 🛠️ Installation and Setup 🛠️

### Prerequisites

Ensure your system meets these requirements:

- Has Python Installed.
- Has downloaded all dependencies.

### Step-by-Step Installation

1. **Clone the Repository**: Use Git to clone YOUR_PROJECT_NAME to your local machine. Open Command Prompt as an administrator and run:

```powershell
git clone https://github.com/DefinetlyNotAI/Math_to_Graph.git
```

2. **Navigate to the Project Directory**: Change your current directory to the cloned CHANGE_ME folder:

```powershell
cd Math_to_Graph
```

3. **Run CHANGE_ME**: Run `./Graphify` more info below.

### Basic Usage

```python
from Graphify import Grapher

# Example usage
grapher = Grapher()
grapher.generate_plot("FORMULA", "START_VALUE", "END_VALUE")
```

Formula must include (x) and nothing else in it, like `x + 5`.

Formula can support any function from the default python module, as well as cos, tan, sin and log.
Prioritizes BODMAS where brackets come first, etc

Super basic tool, no fancy usage, but it's all you need to get started.