Figures and illustration

Restyle a chart for a journal or a slide

Take a chart you already have, from a notebook or the Chart Editor, and give it a journal’s width, type and style, or a slide’s, without touching the data.

Preview

Vicena can do this work, but it has not yet passed our reference test for it. Check its result with care.

Run it

or drop them here

Accepts .json, .ipynb, .py

A chart file from the Chart Editor, or the notebook that draws the chart.

The journal and column width, or a slide, poster or thesis.

Example data, simulated: a Matplotlib script that draws the capacity retention of bare and Al₂O₃-coated NMC811 over 200 cycles at screen size (10 × 6 in, 14–18 pt text and a title). Vicena should redraw it 82.5 mm wide with 7 pt sans-serif text and thinner lines, keep every data point, both axis ranges (0–200 cycles, 70–102%) and the 80% line, drop the title and say that its test conditions belong in the caption, and list what changed. It should not alter, smooth or refit the data.

What you get

  • The chart at the target’s size, type and line weights, with your data unchanged
  • Your earlier edits in the Chart Editor kept, or listed where the new style replaces them
  • Exports in the format the target asks for

What you need

The chart itself

Open the chart in the Chart Editor and attach its file, or attach the notebook that draws it. A picture of a chart cannot be restyled: use the Turn data into a journal-quality figure protocol with the data instead.

The target

Name the journal and whether the figure takes one or two columns, or say it is for a slide, poster or thesis.

How it works

Vicena applies the target’s width and type sizes, sets the line weights and markers so they print, and keeps the colours readable in greyscale. Changes go into the code that draws the chart, so your own edits in the editor still apply on top; where one conflicts with the new style, it says which.

The chart appears under the notebook cell. Its Edit button opens it in the Chart Editor, where you click any part to restyle it, as in Origin or Prism. To have Vicena change a part instead, right-click it and choose Ask Vicena about this. When Vicena reruns the notebook with new data or a new fit, your edits are kept.

Limits

  • Restyling never changes the data, the fits or the axis ranges unless you ask.
  • Journals’ guidelines change; the final check is the journal’s own submission system.

Next

References

  1. Rougier N. P., Droettboom M., Bourne P. E. Ten simple rules for better figures. PLoS Comput. Biol. 2014, 10, e1003833.