|
| 1 | +# Function Plotter |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +This project is a simple function plotter application built using PySide2 for the GUI and Matplotlib for plotting. The application allows users to input a mathematical function and plot its graph over a specified range. |
| 6 | + |
| 7 | +## Features |
| 8 | + |
| 9 | +- Input a mathematical function of `x` (e.g., `5*x^3 + 2*x`). |
| 10 | +- Specify the range for `x` (min and max values). |
| 11 | +- Validate inputs to ensure correct function syntax and valid range. |
| 12 | +- Plot the function using Matplotlib. |
| 13 | + |
| 14 | +## Installation |
| 15 | + |
| 16 | +1. Clone the repository: |
| 17 | + ```bash |
| 18 | + git clone https://github.com/yourusername/FunctionPlotterProject.git |
| 19 | + cd FunctionPlotterProject |
| 20 | + ``` |
| 21 | + |
| 22 | +2. Create a virtual environment: |
| 23 | + ```bash |
| 24 | + python -m venv venv |
| 25 | + source venv/bin/activate # On Windows, use `venv\Scripts\activate` |
| 26 | + ``` |
| 27 | + |
| 28 | +3. Install the required dependencies: |
| 29 | + ```bash |
| 30 | + pip install -r requirements.txt |
| 31 | + ``` |
| 32 | + |
| 33 | +## Running the Application |
| 34 | + |
| 35 | +To run the application, execute the following command: |
| 36 | +```bash |
| 37 | +python src/main.py |
0 commit comments