Skip to content

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

License

Notifications You must be signed in to change notification settings

paramsiddharth/miniplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)