Skip to content

MertBeratTaskaya/python-function-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Python Function Visualizer

An interactive Python tool for visualizing common mathematical functions with customizable parameters and intelligent graph rendering.


✨ Key Features

  • Supports 10 mathematical function types
  • Interactive graph inspection via mouse hover
  • Automatic handling of:
    • Undefined points
    • Vertical asymptotes
  • Degree-to-radian conversion for trigonometric functions
  • Custom coefficient and range input

πŸ“ Supported Functions

Algebraic

  • Linear: f(x) = ax + b
  • Quadratic: f(x) = axΒ² + bx + c
  • Exponential: f(x) = a Β· e^(bx)
  • Logarithmic: f(x) = a Β· ln(x)

Trigonometric

  • sin(x), cos(x), tan(x)
  • cot(x), sec(x), csc(x)

πŸš€ Getting Started

# 1 – Clone the repository
$ git clone https://github.com/MertBeratTaskaya/python-function-visualizer.git
$ cd python-function-visualizer

# 2 – Install dependencies
$ pip install numpy matplotlib mplcursors

# 3 – Run the application
$ python function_visualizer.py

πŸ“ Notes Trigonometric inputs are interpreted in degrees

Vertical asymptotes are displayed as red dashed lines

Undefined values are automatically excluded from plots


Made by @MertBeratTaskaya

About

Interactive function visualizer using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages