Skip to content

mohamedromee12/Function-Plotter

Repository files navigation

Function Plotter

Python GUI program that plots an arbitrary user-entered function.

Description

  • Take a function of x from the user, e.g., 5x^3 + 2x.
  • Take min and max values of x from the user.
  • The following operators must be supported: + - / * ^.
  • Applying appropriate input validation to the user input.
  • Displaying messages to the user to explain any wrong input.

Getting Started

Dependencies

  • PySide2
  • matplotlib
  • pytest
  • pytest-qt
  • numpy

Installing

git clone https://github.com/mohamedromee12/Function-Plotter.git 
pip install PySide2
pip install matplotlib
pip install nympy
pip install pytest
pip install pytest-qt

Executing program

python main.py

Running tests

pytest

Screenshots

Valid Graphs

graph1 graph2 graph3 graph4 graph5 graph6

Error messages

error1 error2 error3 error4 error5

About

Function Plotter using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages