15.18 Publication plot export and accessibility
[plots] enabled=true is the default. --no-plots disables publication files in plots/ but does not suppress table outputs or the HTML report; when HTML is enabled, web figures are still generated for embedding. [figures] and [plots] therefore answer different questions.
Size and format
width=7, height=5, and units="in" define a seven-by-five-inch artifact. Units can be in, cm, mm, or px. dpi=300 controls PNG rasterization. SVG remains vector and is written under plots/svg/ when format="svg" or "both".
CLI equivalents are --plot-width, --plot-height, --plot-units, --plot-dpi, --plot-base-size, and --plot-format. --no-svg suppresses SVG; asking for SVG-only plus --no-svg is rejected with a usage error because it would leave no requested format.
Appearance
title and legend can be disabled in the file or through --plot-no-title and --plot-no-legend. --no-caption removes the gray provenance caption. Named colors include observed, median/terminal line, outer/box, points, and reference. Prefer tested high-contrast palettes and never encode treatment solely by color when line type, shape, or labels can help.
base_size is typography in points, not data-label precision. Increasing DPI cannot fix a physically tiny figure or overcrowded 6×6 individual page; adjust dimensions and layout together.
Release checks
Open both PNG and SVG when both are delivered. Check axes, units, terminal-line styling, clipped titles, legends, panel labels, and print behavior. Verify that a semilog axis excludes nonpositive values visibly and does not imply those records were absent from analysis.
Common mistakes
- Treating DPI as physical size.
- Assuming
--no-plotsremoves embedded report graphics. - Choosing colors that disappear in grayscale or color-vision deficiency.
- Removing captions without preserving provenance elsewhere.
Checklist
- Set physical dimensions for the target medium.
- Export SVG for editable/vector workflows where permitted.
- Test contrast, grayscale, labels, and legends.
- Inspect every page size and last partial panel page.
- Retain version/date provenance in the bundle.
Further reading
Use NCA figure families, Chapter 10 publication QC, and output provenance.