Worked example · Figures and tables · First-order kinetics

From a CSV of readings to a submission-ready figure you can still edit.

A dye's concentration was recorded every 5 minutes for an hour at three temperatures. We asked Vicena for a one-column Nature Communications figure with first-order fits, and got the chart, the files for submission and the fitted rate constants.

How it works

The question

A CSV holds a dye's concentration at 13 times from 0 to 60 minutes, at 25, 35 and 45 °C. How fast does it bleach at each temperature, and what does the figure for a one-column Nature Communications paper look like?

What Vicena did

It fitted a first-order decay to each temperature using every reading, drew the data as markers and the fits as lines at 88 mm wide, checked the export against the journal's artwork guidelines, and saved a PDF, a PNG and a workbook of the plotted data.

What you can do in the Chart Editor

Open the chart with its Edit button and click any part to restyle it, or right-click a part and choose Ask Vicena about this. Your edits stay when the notebook runs again; rerunning the export cell refreshes the PDF.

The session

From one question to a checked answer.

  1. 01

    Open the protocol

    In the Protocols app, search for figure and open Turn data into a journal-quality figure. The page says what you get, what you need and how it works.

    In the Protocols app, search for figure and open Turn data into a journal-quality figure. The page says what you get, what you need and how it works.
  2. 02

    Fill the form, or try the example

    Attach your data and name the journal and what the figure must show. Here Try with example data filled the form with synthetic photobleaching data and Nature Communications, one column.

    Attach your data and name the journal and what the figure must show. Here Try with example data filled the form with synthetic photobleaching data and Nature Communications, one column.
  3. 03

    Start

    Start opens a new session with the protocol's request and the CSV attached. Vicena reads the Chart Editor's guidance, moves the file unchanged into its own folder and checks the journal's guidelines.

    Start opens a new session with the protocol's request and the CSV attached. Vicena reads the Chart Editor's guidance, moves the file unchanged into its own folder and checks the journal's guidelines.
  4. 04

    Read the answer

    Vicena describes the figure after looking at the exported PDF, lists the submission files, says how to restyle the chart and open the workbook in Origin, and ends with a checklist against the journal's requirements.

    Vicena describes the figure after looking at the exported PDF, lists the submission files, says how to restyle the chart and open the workbook in Origin, and ends with a checklist against the journal's requirements.
  5. 05

    Open the notebook

    The notebook beside the chat holds every step: the data summary, the model and its fitted parameters, the chart and the exports. Edit on the chart opens it in the Chart Editor.

    The notebook beside the chat holds every step: the data summary, the model and its fitted parameters, the chart and the exports. Edit on the chart opens it in the Chart Editor.

Results

The dye bleaches with rate constants of 0.0206, 0.0413 and 0.0775 min⁻¹ at 25, 35 and 45 °C, about twice as fast with each 10 °C step, from all 39 readings.

The rate constant rises from 0.0206 min⁻¹ at 25 °C to 0.0413 min⁻¹ at 35 °C and 0.0775 min⁻¹ at 45 °C. The fitted starting concentrations lie between 0.486 and 0.505 mM, close to the 0.48–0.50 mM measured at time zero.

0.0206 min⁻¹
rate constant at 25 °C, ± 0.0005
0.0775 min⁻¹
rate constant at 45 °C, ± 0.0014
39
readings plotted and fitted, none removed
88 mm
figure width, one Nature Communications column
Table 1. First-order fits to all 13 readings at each temperature, as reported by Vicena; values ± standard uncertainty from the fit.
TemperatureC₀ (mM)k (min⁻¹)
25 °C0.5054 ± 0.00580.02057 ± 0.00050
35 °C0.5019 ± 0.00280.04128 ± 0.00039
45 °C0.4863 ± 0.00530.07745 ± 0.00143

Uncertainties reflect the scatter about each curve, not repeatability between experiments.

In plain words

In a first-order decay the dye loses the same fraction of what remains in every minute, so the curve flattens as the concentration falls. The rate constant k is that fraction per minute: at 25 °C about 2 % of the dye bleaches each minute, at 45 °C almost 8 %.

The rate constant roughly doubles with each 10 °C step, so the dye is markedly less stable when warm. The data cannot say why; that would take a mechanism and more temperatures.

The uncertainties come from the scatter of the points about each fitted curve, not from repeated experiments. The data are synthetic, made to behave like a real bleaching experiment, so the example shows the procedure and its checks rather than a finding about a real dye.

For this kind of work

What you can do with Vicena.

Your own kinetics or time courses

Attach the CSV or spreadsheet from your instrument and get the fits done in the open, every reading kept and the figure sized for your journal.

Any figure for a paper

Spectra, calibration curves or grouped measurements are drawn the same way: at the printed size, with axes that name quantity and unit, and as a chart you can still edit.

Method details, for specialists

Vicena plotted synthetic photobleaching data for a dye, 13 concentrations from 0 to 60 min at each of 25, 35 and 45 °C, and fitted each temperature separately with a first-order decay, C(t) = C₀ exp(−kt), by unweighted nonlinear least squares on all 39 readings. The rate constants were 0.02057 ± 0.00050, 0.04128 ± 0.00039 and 0.07745 ± 0.00143 min⁻¹, with standard uncertainties from the fit covariance. Vicena drew the figure as an editable chart 88 mm wide, one Nature Communications column, with the data as markers and the fits as lines, exported it as a vector PDF and a 600 dpi PNG, saved the plotted data in an Origin-ready workbook, and checked that the chart, the workbook and the source data agree.

The prompt Vicena was given, verbatim:

Turn my data into a journal-quality figure, following the Chart Editor's pages (apps/chart-editor/README.md and apps/chart-editor/publication.md). Make it as a chart file at the journal's size and style, with data as markers and any fit as lines, error bars that say what they are, and every axis labelled with its quantity and unit. If I name a journal, check its artwork guidelines; otherwise use a single-column figure. Work in a notebook, look at the exported figure before describing it, and do not alter the data. Tell me I can open the chart with its Edit button to restyle it, or right-click a part and ask you to change it, with my edits kept when you rerun. Export it for submission, and finish with a short checklist of how it meets the journal's requirements. Save the plotted data in an .xlsx workbook as the library's page on publishable results describes (notebooks/publishable-results.md), with each column's quantity, unit and sample above the numbers, and tell me how to open it in Origin. Inputs: - Data: bleaching.csv (attached) - Target journal: Nature Communications, one column - What the figure must show: Concentration against time at 25, 35 and 45 °C, with first-order fits

The data and the model

The CSV holds 39 concentrations of a dye in mM: 13 at each temperature, every 5 minutes from 0 to 60 min. It has no replicates and no measurement uncertainties, so the figure has no error bars, and the caption says why. Vicena kept every value, including a reading of −0.0013 mM at 45 °C and 60 min, which is noise about zero.

Each temperature was fitted separately with C(t) = C₀ exp(−kt), where C₀ is the starting concentration and k the rate constant, with no background term. The fit is unweighted nonlinear least squares on the concentrations themselves rather than on their logarithms, which keeps the negative reading and assumes no weights the data do not give. Standard uncertainties are the square roots of the covariance diagonal, scaled by the residual variance, with 11 degrees of freedom per fit.

The figure and its checks

Vicena took the one-column width, 88 mm, from the Nature Communications submission guide and set the lettering at 6.75 pt, within the 5–7 pt of Nature's artwork guidelines. Each temperature has its own marker and line style, so the series stay distinct in greyscale and for colour-blind readers. The legend shows the markers only; the caption assigns the line styles. The PDF is vector with editable text for submission, and the PNG a 600 dpi preview.

The workbook has one sheet per temperature, with the readings, the fitted values, the residuals and the points that draw each fit line, and each column's quantity, unit and sample in rows 1 to 3, which Origin 2021b or later reads as Long Name, Units and Comments. The notebook reloads the saved chart and workbook and asserts that all 39 source values and all 723 fit-line points match.

We checked the result afterwards against the example's known answer: first-order fits, the data as markers and the fits as lines, at a one-column width. The example's note gives 89 mm, the width in Nature's own guidelines; the run used the 88 mm of the Nature Communications guide it cited. Our own log-linear fit to the first 30 minutes of each series gives 0.021, 0.042 and 0.081 min⁻¹, close to Vicena's values.

Conclusions

  • First-order decays describe the data at all three temperatures, with rate constants of 0.0206, 0.0413 and 0.0775 min⁻¹ at 25, 35 and 45 °C.
  • The figure meets the one-column Nature Communications format: 88 mm wide, 6.75 pt lettering, data as markers and fits as lines, and a vector PDF.
  • The chart is editable in the Chart Editor and keeps the edits when the notebook runs again, and the workbook opens in Origin with each column labelled.

Data and notebooks

Data source: Synthetic photobleaching data made for the Chart Editor's protocols, , CC0 1.0.

References

  1. Nature Communications, How to submit: figures. https://www.nature.com/ncomms/submit/how-to-submit#figures
  2. Nature, Guide to preparing final artwork. https://www.nature.com/documents/aj-artworkguidelines.pdf
  3. Crameri F., Shephard G. E., Heron P. J. The misuse of colour in science communication. Nat. Commun. 2020, 11, 5444. https://doi.org/10.1038/s41467-020-19160-7

Try it

Walk through it, then bring your own data.