An open API service indexing awesome lists of open source software.

https://github.com/ehsanik/simplecodebase


https://github.com/ehsanik/simplecodebase

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Simple Math Plot

This is a minimal Python project that demonstrates how to use NumPy and Matplotlib to generate and display a simple sine wave plot.

## Installation

1. Clone the repository:
```bash
git clone https://github.com/ehsanik/SimpleCodeBase.git
cd SimpleCodeBase
```

2. Create and activate a virtual environment:
```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```
3. Install the required packages:
```bash
pip install -r requirements.txt
```
## Running the Example

Run the script to display a sine wave plot:

```bash
python plot_example.py
```
You should see a pop-up window showing a sine curve from 0 to 10.