Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.02 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.02 KB

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)