3D Graph Resolution: Smooth Surfaces Without Lag
A 3D grapher samples z = f(x, y) on an n × n grid and joins the points into patches, so the resolution n controls the detail. Low resolution (about 10–15) is fast but blocky and can miss narrow peaks; higher resolution (30–60) is smoother but has n² patches to draw. Increase resolution for waves and sharp features, and shrink the domain before pushing resolution very high.
Check it yourself: every example here can be loaded into the 3D Graphing Calculator.
Open the 3D Graphing CalculatorWhat resolution means
A 3D grapher cannot evaluate z = f(x, y) at every point. It divides the x-range and y-range into n equal steps each, evaluates z at the (n + 1)² grid corners and draws n² small patches. That number n is the resolution.
- Grid spacing in x: (x-max − x-min) ⁄ n.
- Doubling n gives four times as many patches.
- Wave at low resolution (10) — opens the 3D Graphing Calculator
Symptoms of too-low resolution
- Faceted, angular look on surfaces that should be smooth.
- Missing peaks: a narrow bump that falls between grid points disappears.
- Aliasing: a fast wave can appear as a slower, wrong wave because the grid is too coarse to follow it.
A rule of thumb: you want at least 8–10 grid steps per cycle of any wave. sin x over −6 to 6 has about two cycles, so n ≥ 20 works; sin(5x) over the same range needs n ≥ 100 — better to shrink the domain.
Text description of this figure
z = sin x · cos y over −4 ≤ x, y ≤ 4 at grid sizes 8, 16 and 36: faceted, acceptable, smooth.
- Low n: fast, faceted, may miss narrow features.
- Medium n: good default for most surfaces.
- High n: smooth waves and peaks, slower to rotate.
- Same wave at high resolution (50) — opens the 3D Graphing Calculator
Symptoms of too-high resolution
- Slow rotation or a laggy page, especially on phones.
- Very dark, dense mesh lines that hide the shading.
The 3D graphing calculator allows 8 to 60, which keeps the patch count at most 3,600.
Domain and resolution work together
Resolution is spread over the whole domain. If the interesting feature is small, a smaller domain at the same n gives far more detail than a huge n over a wide domain.
- Narrow peak z = 4e^(−4(x²+y²)) — opens the 3D Graphing Calculator
Poles and undefined regions
- Where f is undefined (√ of a negative, division by zero), the calculator skips those patches, leaving gaps.
- Near a pole, values shoot up. Extreme values are clipped so the rest of the surface remains readable — the clipped region is a sign to zoom in.
Checklist
- Start with n = 30 and a symmetric domain.
- Waves look jagged? Raise n or narrow the domain.
- Page slow? Lower n.
- Need exact values? Use the cross-section graph, not the surface.
Questions
What resolution should I use?
Start around 30. Raise it for waves with many cycles or narrow peaks; lower it if rotating feels slow on your device.
Why does my surface have a huge spike?
The function probably has a pole, such as 1/(x² + y²) at the origin. The calculator clips extreme values so the rest of the surface stays visible; shrink the domain to study the pole.
Does resolution change the actual function?
No. It only changes how many sample points are used to draw it. The cross-section graph samples much more finely, so use it for exact readings.
Graph your own example with the 3D Graphing Calculator — free, in your browser.
Try it nowSources and further reading
Worked examples and figures were produced and checked with the Graphing Calculator Lab engine. See the editorial policy.