Dissections

Keep the supporting panels and statistics one step away from the main plot.

3 min readPlotting

A figure panel is a verdict: caloric intake predicts body weight. The evidence behind that verdict — twenty per-subject curves, the model comparison you didn’t show, the ANOVA table — usually lives in a scratch folder far from the figure, or nowhere at all. Dissections give that material a home attached to the plot itself.

The folder convention

Any plot in plots/ can own a dissection folder named after it under plots/_dissections/:

plots/
├── growth.svg                      # the composed panel
└── _dissections/
    └── growth/                     # ← growth.svg's dissections
        ├── overview.svg            #   loose files form the default group
        ├── by_subject/             #   a subfolder is a named group (a tab in the viewer)
        │   ├── subj01.svg …
        └── _stats/
            └── anova.csv           #   CSVs/TSVs open as sortable tables

The name mirrors the plot’s path under plots/ (so plots/models/fit.svg owns plots/_dissections/models/fit/), with the extension dropped. Pasted images and PDF snips work too — they’re keyed by their file name.

That’s the whole contract. There is no manifest and no registration: the folder is the API. Your analysis script (or an agent) drops files in; Flux never writes or reorganizes anything there except when you ask it to create the folder.

What goes in

Anything that explains the plot. Typical dissections:

Dissections are deliberately out of the way of composition: nothing under _dissections/ turns up in an ordinary plot-gallery search (Alt+G), lands in a figure by accident, or rides along into an export. They are context, not content.

Out of the way is not locked away. In the importer, type _ and the reserved folders (_dissections, and _lighttable if the project has one) appear as rows you can enter with Enter. Inside one, searching only looks within that folder, so you can find a per-subject panel and insert it deliberately — ⌫ steps back out to the ordinary plots/ search.

Viewing them

In the Figure workspace, select a plot and press D (or click Dissections in the Inspector — it shows a count). The viewer opens full-screen, and the ⧉ button shrinks it to a floating window you can keep beside the canvas:

The viewer is live: files dropped into the folder while it’s open simply appear.

For scripts and agents, flux list-dissections [plot] prints a plot’s groups and files (or, with no argument, every plot that has dissections); see the command reference.

Troubleshooting

Search the docs

Search guides, workspaces, and reference topics.

↑ ↓ to move · Enter to open · Esc to close