No Login Data Private Local Save

Function Graph Plotter - Online Math Visualizer 2D

17
0
0
0

Function Graph Plotter

Plot multiple 2D functions, pan & zoom interactively

Functions
Quick Presets:
Tip: Use ^ for exponents, pi for Ο€, ln for natural log, log for log₁₀. Drag to pan, scroll to zoom.
x: β€” , y: β€”
Frequently Asked Questions
What functions can I plot with this tool?

You can plot virtually any mathematical function of x. Supported operations include: basic arithmetic (+ - * /), exponents (x^2 or x**2), trigonometric functions (sin, cos, tan, asin, acos, atan), hyperbolic functions (sinh, cosh, tanh), logarithms (ln for natural log, log for log₁₀), square root (sqrt), absolute value (abs), exponential (exp), and constants (pi, e). Implicit multiplication like 2x or 3sin(x) is supported.

How do I pan and zoom the graph?

Pan (move): Click and drag anywhere on the canvas with your mouse, or use a single finger on touch devices. Zoom: Use your mouse scroll wheel, or pinch with two fingers on touch devices. Zooming is centered on your cursor position for intuitive navigation. You can also use the Zoom In/Out buttons and Reset View button above the graph.

Can I plot multiple functions at once?

Absolutely! Click the "Add Function" button to add more function input rows. Each function is plotted in a distinct color with its own legend entry in the top-right corner of the graph. You can remove any function using the Γ— button next to its input. The tool supports up to 8 functions simultaneously, each clearly distinguishable by color.

Why does my function look broken or have gaps?

Some functions have asymptotes (vertical lines where the function approaches infinity) or discontinuities. For example, tan(x) has asymptotes at x = Ο€/2 + nΟ€, and 1/x is undefined at x = 0. The plotter automatically detects these large jumps and breaks the curve to avoid drawing misleading vertical lines. If your function produces NaN (not a number) for certain x values, those points are skipped.

What is the difference between log(x) and ln(x)?

In this tool, log(x) represents the common logarithm (base 10, log₁₀), while ln(x) represents the natural logarithm (base e, ln). This follows the convention used in many graphing calculators. If you need logarithm with an arbitrary base b, use the change-of-base formula: ln(x)/ln(b) or log(x)/log(b).

How accurate is the function plotting?

The plotter samples the function at every pixel column across the screen width (typically 1000+ sample points), providing smooth and accurate curves at any zoom level. When you zoom in, the sampling density automatically increases relative to the world coordinates, ensuring fine details are captured. The coordinate display in the bottom-left corner shows real-time (x, y) values as you move your cursor.

Does this work on mobile devices?

Yes! The tool is fully responsive and optimized for mobile use. You can pan with one-finger drag and zoom with a two-finger pinch gesture. The interface adapts to smaller screens, and all buttons remain accessible. For the best experience on small phones, rotate to landscape orientation to get a wider graph area.

What is implicit multiplication and how does it work?

Implicit multiplication allows you to write expressions more naturally without typing the * symbol. For example: 2x is interpreted as 2*x, 3sin(x) becomes 3*sin(x), (x+1)(x-1) becomes (x+1)*(x-1), and x(x+2) becomes x*(x+2). This makes entering functions faster and more readable, closely matching handwritten math notation.