Skip to content

Plot Reproduction

A generated plot is a scientific claim in visual form. It should be possible to identify what was plotted, how it was computed, which units and conventions were used, and what validation supports it.

Every notebook-generated plot should record:

  • figure path,
  • source notebook or script,
  • canonical page,
  • plotted quantity,
  • units or dimensionless variables,
  • parameters,
  • numerical method,
  • benchmark or validation check,
  • environment,
  • license status.

For analytic plots, record the formula and sampling range. For numerical plots, record convergence or error evidence.

Captions and axes should distinguish:

  • amplitude ψ\psi,
  • probability density ∣ψ∣2\lvert\psi\rvert^2,
  • radial probability density,
  • energy,
  • phase,
  • current,
  • expectation value,
  • entropy or information measure,
  • convergence error.

Do not rely on readers to infer the quantity from the plot shape.

A good reproduction workflow is:

  1. run the notebook or script from a clean environment,
  2. execute validation cells,
  3. export the figure to the stable path,
  4. confirm the page caption matches the generated quantity,
  5. run the full site build.

Generated plots that cannot pass validation should stay out of the committed figure set or be labeled explicitly as exploratory.

The current committed figures are source-tracked TikZ diagrams. For these, reproduction means:

  • source .tex file is present,
  • generated .svg is present,
  • labels do not overlap,
  • caption and alt text are meaningful,
  • build passes with the image path.

TikZ diagrams can be schematic; they should not pretend to be numerical data.

  • Plotting a rescaled curve without saying it was rescaled.
  • Reusing a caption after changing parameters.
  • Exporting from an old notebook run after source changes.
  • Showing a convergence plot without a reference value.
  • Using color alone to distinguish physical cases.
  • Cropping away boundary effects that are part of the numerical result.