Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/paramsiddharth/miniplot

A graphical application to plot any mathematical equation of the form y = f(x).
https://github.com/paramsiddharth/miniplot

diagram equations gui matplotlib native plotting python qt

Last synced: about 1 month ago
JSON representation

A graphical application to plot any mathematical equation of the form y = f(x).

Awesome Lists containing this project

README

        

# MiniPlot

A graphical application to plot any mathematical equation of the form `y = f(x)`.

Application Screenshot

Made in PySide2 (Qt for Python). PyPI modules Matplotlib (along with NumPy) and
Equation were used for plotting and expression-parsing respectively.

## Execution

- Simply execute `main.py` using Python. Use `-W ignore` to hide warning in the console e. g. Division by Zero.
```
> python -W ignore main.py
```
- To build a distribution, use `pyinstaller`.
```
> pyinstaller main.py -w -i icon.ico --clean --noconfirm
```
Note: Due to dependency issues, you might need to manually copy `matplotlib` and
`Equation` from your Python installation, and `icon.ico` from the source directory
to the distribution folder for the executable to function properly.

## Examples

Try plotting the following equations:

- `f(x) = x ^ 2`
- `f(x) = 2 * x + 1`
- `f(x) = sin(x ^ 3)`
- `f(x) = 1 / tan(x)`