Search IntMath
Close

450+ Math Lessons written by Math Professors and Teachers

5 Million+ Students Helped Each Year

1200+ Articles Written by Math Educators and Enthusiasts

Simplifying and Teaching Math for Over 23 Years

# Plot your own graphs using JSXGraph graphing calculator

You can plot 3 functions, function 1 (in blue), function 2 (in green) and function 3 (in magenta).

Edit your function and then click the "Plot" button. The first one, f1(x), is done as an example.

See below for more instructions.

f1(x)=

f2(x)=

f3(x)=

x-Direction zoom y-Direction zoom Both directions zoom

Show grid: Equal scaling:

### Directions if you are on a desktop

You can zoom in and out of the graph by holding down the Shift key and using mouse scroll wheel. You can zoom in the x- or y-directions only by choosing the option near the top of the graph, then scrolling with the mouse wheel.

You can pan the graph (move it up, down, left, right) by holding the Shift key and dragging the graph with the mouse.

(Zooming and panning gets pretty slow if you are trying to graph 3 curves at once. Suggestion: "Clear" the graphs, then set up the zoom and pan as desired, then "plot" the graphs again.)

### Directions if you are on a mobile device

You may have some success with pinching the graph. Results not guaranteed!

## Some graphs to try

The grapher will accept any of the following functions (use the notation shown). You can copy from the examples below if you wish.

• 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 and log(x) for log base 10)
• 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)
• square root: sqrt(x)

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

If your graph doesn't work: Try using brackets! For example, "tan 2x" won't work. You have to put tan(2x).
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://www.intmath.com/functions-and-graphs/graphs-using-jsxgraph.php", "fetch_time": 1675322721000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2023-06/segments/1674764499967.46/warc/CC-MAIN-20230202070522-20230202100522-00644.warc.gz", "warc_record_offset": 834723032, "warc_record_length": 27631, "token_count": 656, "char_count": 2404, "score": 3.5, "int_score": 4, "crawl": "CC-MAIN-2023-06", "snapshot_type": "longest", "language": "en", "language_score": 0.8133638501167297, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00055-of-00064.parquet"}