Embeddable Graphs using Flot

Graphs of mathematical functions (only polynomials at the moment) using the Flot plotting library.

Equations are entered using the claret (^) to indicate exponents.

Entering Equations

Equations can be entered as text using the "^" for exponents. For example:

Embedding

To get the above graph embed:

URL Parameters

Start with and equation

To have an equation automatically drawn you can enter the equation as a function of y (e.g. y = x2 + 3x - 4), however, the url the "=" and "+" signs have special meanings so you need to substitute the hex codes for them instead: "=" is "%3d" and "+" is "%2B".

For the equation y = x2 + 3x - 4 use:

graph.html?eqns=y%3dx^2%2B3x-4

Setting the Domain of the Function

A continuous domain between two x-values can be entered using commas right after the equation. So setting the domain as -5 < x < 1.5 use:

graph.html?eqns=y%3dx^2%2B3x-4,-5,2.5

Hide Interface

To only show the graph use:

graph.html?hide_interface=true

Show Labels

To show the legend use:

graph.html?show_labels=true

Creative Commons LicenseGraphing Polynomials by Lensyl Urbano is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Based on a work at earthsciweb.org.