Journal figures
Export › Journal figure… (Ctrl+Shift+E) opens a window that draws the plot as a figure for print: at its exact size in millimetres, with text and lines in points, in the formats journals ask for.
The figure window
The preview on the left shows the figure on white paper at its true aspect ratio, with the print size under it, e.g. 89 × 70 mm · PDF. The window stays open next to the main window and follows it live: the unit, the plot, the ranges, the colour map and levels, the picked points and the models. Change the view in the main window and the figure changes with it.
Settings
- Journal
- Nature, APS or Custom (see the presets), and My presets next to them for your own. The notes under it sum up the journal's rules; their sources are in the tooltip.
- Width and height
- The journal's column widths, or any width in mm with Custom; the height in mm.
- Text and lines
- The text size and the line width in pt.
- Format
- PDF, SVG, EPS, PNG or TIFF, and the resolution in dpi. For PNG and TIFF it sets the pixel size, which is shown; in PDF, SVG and EPS it is the resolution of the map image inside the file.
- View
- Map or Stacked, by default the tab on screen.
- Model curves
- The visible models, white and dashed with a dark outline. Each model has its own dashes (the first one short dashes, then long dashes, dash-dot and fine dashes), so several models can be told apart, also without a legend.
- Picked points
- On or off, for the current curve or all curves; it starts from the markers shown in the main window.
- Legend
- On or off (off to start). It lists the picked points of each curve with their marker, the current curve filled, and each model once, with the names of the main window, inside the plot where it covers the fewest points and lines. Each row shows its markers or line as drawn. Over a map the legend has a dark translucent ground with white text, like the white curves and points on the map; on stacked spectra it is white, without a frame, and lists only the curves with points on the traces shown. The note under the switch says what it lists.
- Panel label
- None, or a to f, in the journal's style: a bold a for Nature, (a) for APS and Custom.
- Colour range
- The colours of a map: Window uses the levels of the main window and follows them; Auto uses the 1–99 % of the whole map, as the window's Auto, also when you zoomed in; Fixed uses the two values you type, in the plot's values (a per-unit derivative in the unit shown, which the note under the fields names, e.g. per meV²). The figure's colour range does not change the main window's. Fixed values start from the window's levels and are remembered for each plot, as in the inspector, so values typed for R(B)/R(0) are not used for a derivative. Stacked figures colour their traces by field instead.
- Colour bar
- On or off, Right or Top, with an optional label (e.g. ΔT/T). On top it is a horizontal bar above the plot with its ticks and label above it; the figure keeps its size and the plot makes room. On a stacked figure it is offered when the traces are coloured by field.
- Ticks
- In or Out; on all four sides (top and right without numbers) or only bottom and left; their length and width in pt; and minor ticks, which split each step between numbers into 2 to 10 parts, with their length. Empty sizes follow the text size and the line width, as the presets draw them. The colour bar's ticks point the same way; it has no minor ticks.
- Axis labels
- Empty fields use the automatic labels, such as Energy (meV); type your own, or a single space for no label.
Save… asks where to save, with a name made from the sweep, the plot and the preset, such as …_Ratio_nature-single.pdf. The window remembers the journal, the sizes, the format, the resolution, the colour range with the fixed values, the colour bar, the ticks, the legend and the panel label for the next time.
Your presets
My presets, next to the journals, keeps your own styles. Save as preset… asks for a name in the window and keeps:
- the journal it is based on, whose rules and warnings still apply;
- the width and height, the text size and the line width;
- the format and the resolution;
- the colour bar (on or off, right or top), the ticks, the legend (on or off) and the colour range (Window, Auto or Fixed).
It does not keep what one figure shows: the view, the model curves and points, the panel letter, the axis and colour bar labels and the fixed colour range values. Saving under a name in use replaces that preset.
Choose a preset in the menu to use it; the button shows its name until you change one of its settings. Rename… and Delete act on the preset shown. Export presets… writes all of them to a JSON file, and Import presets… adds those of a file, replacing presets with the same name. A file that is not a preset file, holds values no figure can have (such as a height above 1000 mm), or comes from a newer version of the app, is refused with a message and changes nothing. Your presets are saved as soon as you change them, and View › Reset settings keeps them. Presets this version cannot read (saved by a newer version of the app) are kept unchanged; if they are in a newer format, this version leaves them alone and does not save new presets over them.
The presets
| Nature | APS (Physical Review) | Custom | |
|---|---|---|---|
| Widths | 89 mm single, 120 or 136 mm for 1.5 columns, 183 mm double | 86 mm single (8.6 cm), 178 mm double (17.8 cm) | free (starts at 120 mm) |
| Height | 70 mm to start, at most 247 mm | 65 mm to start | free (starts at 90 mm) |
| Text | 5 – 7 pt (7 pt), Helvetica or Arial | 8 – 12 pt (8 pt), at least 2 mm high | 4 – 24 pt (8 pt) |
| Panel labels | 8 pt bold lowercase: a | (a) | (a) |
| Lines | 0.25 – 1 pt (0.5 pt) | at least 0.5 pt (0.75 pt) | at least 0.25 pt (0.75 pt) |
| Images | 300 – 600 dpi (450 dpi) | 600 – 1200 dpi (600 dpi) | 72 – 1200 dpi (600 dpi) |
| Formats | PDF or EPS; TIFF or PNG for images | EPS or PS preferred, PDF and PNG accepted | any |
The APS style guide gives the single column as 8.5 cm and the style basics as 8.6 cm, and the 17.8 cm of two columns is not confirmed by an official APS page, so check the journal's current rules before you submit. APS figures must also stay readable in grayscale.
What the files contain
- Every format has the exact print size.
- PDF and EPS embed the fonts as TrueType and SVG keeps text as text, so labels stay editable in Illustrator, Inkscape or Affinity.
- PNG and TIFF store their resolution, so they open at the right size.
- The text uses Arial, else Helvetica, else DejaVu Sans; the log says when a font is missing.
- Areas without data are white.
What the warnings mean
The window never opens a dialog box: it lists its messages at its foot, next to Save. Warnings, in amber, tell you that a value was adjusted to the journal's rules or does not follow them; the figure can still be saved:
| Message, for example | Meaning |
|---|---|
| Nature: height is at most 247 mm; using 247 mm. | The height was above the journal's maximum and is drawn at the maximum. |
| Nature: text is 5–7 pt; using 7 pt. | The text size was outside the journal's range and is drawn at the nearest allowed size. |
| APS (Physical Review): images need at least 600 dpi; using 600 dpi. | The resolution was raised to the journal's minimum. |
| Nature: lines should be at most 1 pt, not 1.5 pt. | A value outside the journal's rules that is drawn as typed. |
| Nature asks for PDF, EPS, TIFF or PNG files. | The chosen format is not one the journal asks for; it is saved anyway. |
| Too small for the labels and the colour bar: make the figure taller. | The text and the colour bar do not fit into the figure: parts of them would be cut off or overlap the plot, or the plot would be squeezed so that its numbers overprint. Make the figure taller (or wider, as the message says), or the text smaller. |
Errors, in red, mark the field and disable Save until it is fixed: an empty field, or a value outside what can be drawn at all (sizes 5 – 1000 mm, text 1 – 72 pt, lines 0.05 – 10 pt, resolution 50 – 2400 dpi, at most 120 million pixels).
The first export
In the standalone app, the first figure after installing takes about 20 s: matplotlib, which draws the figures, builds its font cache once. The cache is kept for later sessions (where).
Quick images
For a look rather than for print, Export › Quick image (PNG/SVG)…, or the image button in the plot toolbar, saves the plot as it is on screen, with its colour scale.