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?

Resources

Related Posts

How To: Open Science

How To: Open Science

Tired of Recreating someone else’s work? - How Open Science can accelerate research and overcome reinvention

Have you ever found papers on algorithms but their implementation is missing? Found an interesting analysis but there is no way to check the results, as you don’t have access to the data they were derived from? Ever thought you had a great idea for a project, just to find out a year later that you are not the only research group following that specific idea? Not having access to other people’s code, data, metrics or even their plans for research projects often leads to unnecessary delays and scientific redundancies. There is an easy solution to overcome (almost) all of these issues. It’s called Open Science! What is Open Science? The UNESCO defines Open Science as a construct of “movements and practices aiming to make multilingual scientific knowledge openly available, accessible and reusable for everyone, to increase scientific collaborations and sharing of information for the benefits of science and society, and to open the processes of scientific knowledge creation, evaluation and communication to societal actors […]”. To ensure that everyone has access to scientific knowledge and infrastructure, Open Science focuses on four main concepts.

Read More
Announcement - Call for participation

Announcement - Call for participation

Update (June 24, 2024)

The call for participation is now open! Read more

Upcoming!

The Data Literacy Center Rhine-Rhur is issuing a call for participation in its “rent-an-expert” project! This is a great opportunity for PhD students and early postdocs who are working on research projects that involve data science, artificial intelligence, high performance computing and simulation, to get free support from our expert consultants.

Support can take the form of short- or long-term consulting, depending on the needs of the project. More info will be available shortly!

Read More
FDM-Werkstatt - Into the RDM-Toolbox!

FDM-Werkstatt - Into the RDM-Toolbox!

The Center of Data Litercacy (German: “Zentrum für Datenkompetenz”) DKZ.2R was officially launched mid November 2023. Already a month later we joined forces with fdm.nrw to organise the very first DKZ.2R-event (find the call for participation here). The “FDM-Werkstatt – Into the RDM-Toolbox” took place from March 18 to 20, 2024 at the IT Center of RWTH Aachen University. In total, 50 participants from all over Germany took part in the workshops. Many of them brought their own topics of interest with them and presented it in one of the 12 sessions. The contents of the sessions ranged from low-level introductions and RDM-basics to elaborate and in-detail coding sessions. For three days we worked together, discussed use cases and new RDM tools. But we also enjoyed the social program such as a tour of the AiX Cave and the server room of the ITC’s High Performance Computing Center. There was a good balance between cognitively demanding workshop sessions and more relaxing social events and lunch breaks which hopefully resulted in an enjoyable and rewarding experience for all participants. On the very last day of the workshop we offered a session to especially discuss ideas and directions for the DKZ.2R. The feedback we got in this session will help us in moving forward with the DKZ.2R and making a lasting impact for future researchers.

Read More