Function Grapher
Plot functions online and export ready-to-use SVG. Supports explicit y=f(x), polar r=f(theta), parametric pairs and implicit F(x,y)=0, with adjustable domain, sample count and grid style.
Plot type:   From:   To:   Samples:
Grid:   Colour:
Plot preview
—
Statistics Result Download CSV
Item Value

Introduction to the tool and how to use it

Equation Plotter turns a mathematical expression into a picture and exports standard SVG code - handy for web illustrations, teaching diagrams or answer keys.

Four plot types:
· Explicit y=f(x) - the most common; enter an expression in x, such as x^2/4-3, sin(x) or exp(-x^2/2);
· Polar r=f(theta) - enter the radius as a function of the angle; theta is in radians and can be written theta or t, so 2*cos(3*theta) draws a three-petal rose;
· Parametric - enter two lines, the first being x(t) and the second y(t) (or a single line separated by a semicolon); cos(t) with sin(t) draws a circle;
· Implicit F(x,y)=0 - enter an expression in x and y and it is drawn with a contour method, so x^2+y^2-25 gives a circle and x^2/9+y^2/4-1 gives an ellipse.

What you can write:
· Operators + - * / % ^ (power), nested parentheses, and implicit multiplication (2x and 3(x+1) both work);
· Constants pi, tau and e;
· Functions sin / cos / tan / asin / acos / atan / sinh / cosh / tanh / exp / ln / log (base 10) / log2 / sqrt / cbrt / abs / sign / floor / ceil / round / sec / csc / cot / radians / degrees;
· Two-argument functions atan2, pow, hypot and mod, plus variadic min / max.

Steps:
1. Type the expression in the box on the left (switching the plot type pre-fills that type domain);
2. Set the domain - it accepts constants such as pi, for instance -2*pi to 2*pi - along with the sample count (more is smoother) and the grid style;
3. Pick the curve colour;
4. Click Run: the plot previews above, the SVG code is printed on the right (copy or export it), and the table below reports the type, expression, sample count and range.
Note: expressions are evaluated by a parser built into this page rather than by eval, so a mistake produces a specific message; points beyond about ±10000 (such as the vertical asymptotes of tan) are broken off automatically, implicit equations are drawn with a contour method, and both axes share one scale so circles really look like circles.

Message board

All messages →
0/200

  • No one has spoken up yet — want to go first?