Free online tools to generate, calculate, convert, format, transform, and de/en-code.
 

Function Plotter

Plot and visualize mathematical functions interactively. Enter any function using JavaScript math syntax.


Function Input

Use: +, -, *, /, ^, sin(), cos(), tan(), sqrt(), abs(), log(), exp(), floor(), ceil()

Graph

Example Functions


About the Function Plotter

This function plotter allows you to visualize mathematical functions by entering them in JavaScript syntax. The graph is interactive and updates in real-time as you change parameters.

Features
  • Custom Functions: Enter any mathematical expression
  • Adjustable Range: Control X and Y axis ranges
  • Interactive Graph: Hover to see coordinates
  • Color Selection: Choose your line color
  • Export: Download graphs as PNG images
  • Examples: Quick access to common functions
Supported Functions
  • Basic Operations: +, -, *, /, ^ (power)
  • Trigonometric: sin(x), cos(x), tan(x)
  • Exponential/Log: exp(x), log(x) (natural log)
  • Other: sqrt(x), abs(x), floor(x), ceil(x)
  • Constants: Use Math.PI for π, Math.E for e
Function Syntax Examples
  • 2*x + 3 - Linear function
  • x^2 - 4*x + 3 - Quadratic
  • sin(2*x) - Sine with frequency 2
  • exp(-x^2) - Gaussian curve
  • x^3 - 3*x^2 + 2*x - Polynomial
Tip: Hover over the graph to see exact coordinates. Use the examples to explore different function types!


Feedback

Help us improve this page by providing feedback:


Share with