Plot your own SVG Math Graphs

NOTE: It appears that you may not be using a compatible browser for this. Please use either Firefox , Chrome, Safari or Opera. These browsers can render SVG graphs successfully, while other browsers (like Internet Explorer) require a plugin.


The following graph is not an image (that is it's not a .GIF or .JPG). It is a scalable vector graphics text file which is being rendered by your browser as a picture. You can plot 2 functions, function 1 (in blue) and function 2 (in green).

Edit your functions and then click the "Graph it" button below.

Function 1: Function 2:

Min x-value: Max x-value:

Min y-value: Max y-value:

Grid space (vertical): Grid space (horizontal):

Some graphs to try

The grapher will accept any of the following functions (use the notation shown):

  • Straight lines: (like 3x - 2)
  • Polynomials: (like x^3 + 3x^2 - 5x + 2)
  • Any of the trigonometric functions: sin(x), cos(x/2), tan(2x), csc(3x), sec(x/4), cot(x)
  • The inverse trigonometric functions: arcsin(x), arccos(x), arctan(x), arccsc(x), arcsec(x), arccot(x)
  • Exponential (e^x) and logarithm (ln(x) for natural log. For log base 10 you need to put ln(x)/ln(10). I'm using Change of Base rule.)
  • Absolute value: use "abs" like this: abs(x)
  • The hyperbolic functions and their inverses: sinh(x), cosh(x), tanh(x), arcsinh(x), arccosh(x), arctanh(x)
  • Sign (1 if the sign is positive, −1 if the sign of the function is negative. For example, try sign(sin(x)))

In fact, you can use most of the javascript math functions, including

  • ceiling: ceil(x) and round: round(x)
  • random: random(x);
  • square root: sqrt(x)

You can also use any combinations of the above, like "ln(abs(x))".

You can just have one graph if you want - just leave one of the "function" boxes empty.

More Information

The above illustration is an example of vector graphics - images that are made using vectors.

For more information, see:

  • Vector Addition (example graphs showing many examples of vector addition)
  • Vector Art (an important new branch of art, made using vectors)

Credit to the developers of ASCIISVG, particularly Peter Jipsen, Chapman University.




Didn't find what you are looking for on this page? Try search:

Math Lessons on DVD

get MathTutorDVDs

Easy to understand math lessons on DVD. See samples before you commit.

More info: Math videos

 

Bookmark this page

Add this page to diigo, Redditt, etc.

 

Like Us on Facebook!

The IntMath Newsletter

Sign up for the free IntMath Newsletter. Get math study tips, information, news and updates each fortnight. Join thousands of satisfied students, teachers and parents!

Given name: * required

Family name:

email: * required

See the Interactive Mathematics spam guarantee.

 

Need a break? Play a math game. Well, they all involve math... No, really!

dumbolf memoTST bola shadow factory mindfields trick-hoops-challenge crystal clear