Loading…

Level Curve or Surface Plotter

Math Calculus • Differential Equations

View all topics

Plot level curves \(f(x,y)=c\) and level surfaces \(f(x,y,z)=c\). Use the level slider, contour controls, zoom, shift, drag-to-move, drag-to-rotate, and Play mode to see how the scalar field changes as the level value changes.

Level curve \(\displaystyle f(x,y)=c\) Level surface \(\displaystyle f(x,y,z)=c\) Example \(\displaystyle x^2+y^2=c\) Gradient direction \(\displaystyle \nabla f\perp\text{ level set}\)

Function and level settings

Supported: \(x\), \(y\), optional \(z\), powers, implicit multiplication, sin, cos, tan, sqrt, abs, exp, ln, log, constants pi and e.
c = 4
Used when “Manual level list” is selected.
Higher density gives smoother contours but takes longer.
Live preview

Quick examples

Ready
Enter a scalar function and click “Plot levels”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is a level curve?

A level curve is the set of points in the plane where a two-variable function has a constant value, written f(x,y)=c.

What is a level surface?

A level surface is the set of points in space where a three-variable function has a constant value, written f(x,y,z)=c.

Why does x^2 + y^2 produce circles?

The equation x^2 + y^2 = c describes a circle centered at the origin when c is positive. Larger values of c produce larger circles.

What does the gradient overlay mean?

The gradient points in the direction of greatest increase of the function and is perpendicular to level curves at regular points.

How are 2D level curves drawn?

The calculator samples the function on a grid and connects points where the function crosses each selected level.

How are 3D level surfaces drawn?

The calculator samples the function in a 3D box and plots points close to the selected level. It also draws slice contours to help show the surface shape.

Why might a level not appear?

The selected level may be outside the sampled function range, or the sampling density may be too low to capture a small or thin level set.