Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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).
- Host: GitHub
- URL: https://github.com/paramsiddharth/miniplot
- Owner: paramsiddharth
- License: gpl-3.0
- Created: 2020-08-15T13:16:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-31T03:24:17.000Z (over 4 years ago)
- Last Synced: 2024-05-22T20:22:12.742Z (7 months ago)
- Topics: diagram, equations, gui, matplotlib, native, plotting, python, qt
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MiniPlot
A graphical application to plot any mathematical equation of the form `y = f(x)`.
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)`