Plots with ROOTs and SHAPEs
EmacsConf 2026 talk by Lukas C. Bossert
Overview
A figure in a report is easy to copy—and surprisingly easy to detach from the data, decisions and code that produced it. What would change if the plot were a reproducible result of the document rather than an image pasted into it?
This talk develops a small report in Org mode, moving from a named table to gnuplot figures and publication outputs. Working in Doom Emacs, I will demonstrate direct table plotting, explicit plotting code with Org Babel, and reusable figure styles through Noweb references. A single corrected value provides the central demonstration: after re-execution, the figure and calculated summary change together, while the interpretation still requires human review.
The workflow is guided by ROOT - Robust, Open, Ongoing and Time-tested— my framework for thinking about resilient technologies. Rather than equating resilience with the age of a tool, I ask whether a workflow can be inspected, understood, repaired and handed over. Keeping data, plotting instructions and explanation connected is one practical response.
The talk also addresses the less glamorous parts of reproducibility: hidden session state, stale results, external dependencies, output formats and the difference between regenerating a figure and exporting a document.
Participants will leave with a small Org-based example and a pattern they can adapt for research reports, teaching materials or personal data. Basic familiarity with Org mode is helpful; no prior experience with gnuplot is required. The demonstration uses Doom Emacs, but the underlying workflow is not Doom-specific.
Topics covered
- Org mode as a plain-text environment for scientific writing, organization, and publishing
- org-roam and org-roam-ui for linking notes and visualizing a knowledge graph
- org-babel for literate programming and self-documenting code
- SPARQL queries against Wikidata
- Data cleaning and processing with shell, Python, awk, and R
- Collaborative editing in Emacs using CRDT
- Exporting Org documents to formats such as PDF, HTML, and plain text
Speakers
Lukas C. Bossert is a trained classical archaeologist and deputy head of the department “Research Process and Data Management” at the IT Center of RWTH Aachen University.
Chapter markers
- 00:00 Introduction
- 00:31 ROOT: Robust, Open, Ongoing and Time-tested
- 01:06 SHAPE: Structure, Harmonise, Automate, Propagate, Evaluate
- 01:33 The dataset
- 02:08 Org Notebook
- 03:49 Making our first plot
- 05:01 Using a Gnuplot block
- 06:03 Group names
- 06:42 Adding bars
- 07:28 Tidying up
- 08:13 Additional series
- 08:47 Stacking outcomes
- 09:28 Percentages
- 10:52 Leaving out a group
- 12:15 Digging into the details
- 13:44 Overall group rates
- 14:26 Checking
- 15:24 Saving as PDF
- 16:11 What else can Gnuplot do?