Documentation

16.21 Figures, plot export, and accessibility

The HTML report contains web figures. Publication files in plots/ are optional and require --plots or [plots] enabled=true.

Figure families

profiles shows dose-normalised concentration versus time, colored by regimen groups when present. It uses each subject's first-dose time and amount for presentation. individual_cl and individual_v show histograms of log individual-to-typical ratios for the method supplying OMEGA, with the corresponding normal density.

These histograms are diagnostic. A smooth overlay does not prove normal random effects, and missing individual panels can reflect unavailable method evidence.

Axis and export controls

--x-scale linear|log and --y-scale linear|log affect applicable plots. A log y-axis is often most informative for PK profiles but excludes nonpositive display values. Export controls include physical width/height/units, DPI, base font size, PNG/SVG/both, named colors, titles, legends, legend position, and caption.

--no-svg suppresses vector copies. --no-caption removes the gray provenance caption; preserve equivalent provenance elsewhere. Colors should have sufficient contrast and not be the only group encoding.

Output bundle and visual evidence

Visual review

Inspect route-specific shapes, dose-normalised overlap by group, extreme individual estimates, histogram tails, axis units, and clipping. A group shift in normalized profiles can explain a clearance-consistency warning or reveal a dose/unit problem.

Open the exported file at its intended publication size, not only zoomed in a browser. Labels that appear readable on screen may become illegible in a report. Also compare the figure with its underlying CSV: plotting filters, log axes, and unavailable individual estimates can reduce the displayed records without changing the source-data count.

Common mistakes

  • Expecting PNG files without enabling plots.
  • Treating histogram normality as a formal test.
  • Using log axes without noting omitted nonpositive display values.
  • Removing caption/title/legend until the figure is uninterpretable.

Checklist

  • Enable publication plots deliberately.
  • Choose physical dimensions and format for the target medium.
  • Inspect profile and individual-distribution figures.
  • Test contrast, labels, legends and captions.
  • Preserve full output evidence with figures.

Further reading

See output evidence, Chapter 10's figure pipeline, and the worked examples.