Function Grapher: Viewport, Sampling, Export

Open Tool Function Graph Plotter

Set the viewport, then the sampling

Fields set the X and Y ranges, sampling count and line width, with a grid switch. Buttons add a curve, analyse, draw, load a sample, clear, and export PNG, SVG or CSV data. Sampling count decides how many points per curve, where too few shows corners and too many slows rendering. Analysis typically reports roots, extremes and intervals of increase or decrease.

Steps

  1. Load the sample to see an expression and its output.
  2. Add a curve, minding power and bracket notation.
  3. Set viewport ranges, since wide ranges squeeze features together.
  4. Start sampling near two thousand points and raise it as needed.
  5. Enable the grid for coordinate reading, or disable it for a clean image.
  6. Draw, exporting SVG for vector use or CSV to recompute elsewhere.

Sampling and visual error

A curve is continuous while screens draw discrete points joined by lines, so density determines apparent truth. Steep regions near asymptotes produce false segments when sampling is sparse, and periodic functions sampled below their period show spurious low-frequency waves, an aliasing artefact. Scale matters too, since unequal X and Y scales turn circles into ellipses and distort apparent slope. A grid supplies reference but coarse spacing hides detail. SVG stays sharp at any size while PNG suits documents and slides.

Common mistakes

Sampling so sparsely the curve corners. Ignoring aliasing and drawing phantom waves. Unequal axis scales distorting shape. Ranges so wide intersections vanish. Malformed expressions with missing brackets or fullwidth symbols. And exporting bitmaps for print.

Where a picture is not a proof

Roots and integrals need symbolic or numeric tools. Surfaces need three-dimensional plotting. Parameter animation needs slider support. And visual shape never replaces analytic argument.

⏫︎