Graphing Basics

How to Set the Graph Window, Axis Bounds and Scale

The graph window is the rectangle of the coordinate plane you can see, set by x min, x max, y min and y max. A good window includes every important feature — intercepts, turning points, asymptotes and intersections — without squashing the curve. Start with a standard window, then zoom or type bounds that frame the features you need.

The same cubic y = x³ − 15x shown in a window that hides its turning points and in a window that shows all three roots and both turning points.

Check it yourself: every example here can be loaded into the Graphing Calculator.

Open the Graphing Calculator

What the window controls

The window (also called the viewing rectangle) is the part of the plane shown on screen:

x min ≤ x ≤ x max    and    y min ≤ y ≤ y max

Everything outside it is invisible. The scale is how many units each grid line represents — the calculator chooses grid steps of 1, 2 or 5 × a power of 10 automatically so labels stay readable.

Three ways a window misleads

Three panels of y = x³ − 15x: a −10 to 10 square window that cuts off the turning points; a zoomed-out window where the curve looks like a steep line; and a good window from −6 to 6 by −30 to 30 that shows all roots and turning points.
A window can hide features (left), flatten them (middle) or show them clearly (right).
Text description of this figure

Three panels of y = x³ − 15x: a −10 to 10 square window that cuts off the turning points; a zoomed-out window where the curve looks like a steep line; and a good window from −6 to 6 by −30 to 30 that shows all roots and turning points.

  1. Find the key x-values first (roots, vertex, asymptotes).
  2. Choose x min and x max a little beyond them.
  3. Choose y min and y max to include the matching y-values.
  1. Too tight — important features fall outside. In a −10 to 10 window, y = x³ − 15x’s turning points at y ≈ ±22.4 are cut off, so the curve looks like it just wiggles across.
  2. Too wide — details shrink until they vanish. At x from −100 to 100 the same cubic looks like a steep line.
  3. Badly proportioned — different scales on the axes distort shapes: perpendicular lines no longer look perpendicular, and circles look like ellipses.
Try it in the calculator

A method for choosing a good window

  1. Start standard (−10 to 10 on both axes) to see the rough shape.
  2. Identify key x-values: roots, turning points, asymptotes, the vertex. Use algebra or the Results panel.
  3. Set x min and x max about 20–30% beyond the outermost key x-values.
  4. Evaluate y at those key points and the edges; set y min and y max to include them with a margin.
  5. Fine-tune by zooming around the feature you care about.

For y = x³ − 15x: roots at 0 and ±√15 ≈ ±3.87, turning points at x = ±√5 ≈ ±2.24 with y ≈ ±22.4. A window of x from −6 to 6 and y from −30 to 30 shows everything.

Try it in the calculator

Windows for common function types

Function Good starting window Why
Lines y = mx + b include the intercepts both crossing points visible
Quadratics centre on the vertex x = −b ⁄ (2a) shows symmetry
Exponentials y from slightly below the asymptote growth happens fast
Logarithms x from just left of the asymptote the curve starts there
Trigonometric x over 2 periods, y from −(|a| + 1) to |a| + 1 full cycles visible
Rational include all vertical asymptotes branches visible

Zooming vs typing bounds

  • Zooming (scroll, pinch or the toolbar) is quick for exploring.
  • Typing bounds in the Window boxes gives a precise, repeatable view — better for homework and screenshots.
  • Reset returns to the starting window.

Common mistakes

  • Trusting a single window. Always check the bigger picture.
  • Concluding “no roots” because none are visible. The Results panel says “none found in this window” for this reason.
  • Using degree mode with a −10 to 10 window for trig graphs: a full period is 360 units, so the wave looks almost flat.
  • Forgetting that y min must be less than y max.

When a graph still looks strange, see why a graph looks wrong.

Questions

What is a standard window?

Usually x and y from −10 to 10. It is a sensible starting point, but many functions need a different one.

Why do circles look like ovals?

The x and y scales are different. Use equal scaling (the same units per pixel on both axes) to see true shapes; the polar and parametric calculators do this automatically.

How can I find features outside the window?

Zoom out first to see the overall shape, then zoom in on each feature. The results panel only searches the current window.

Graph your own example with the Graphing Calculator — free, in your browser.

Try it now

Sources and further reading

Worked examples and figures were produced and checked with the Graphing Calculator Lab engine. See the editorial policy.

Related guides

More in Graphing Basics · All guides