GeinQSAR Studio
Home › Publication figures

Publication figures

Every chart and every 3D view can be written as a figure at the size, resolution and look a journal asks for, without leaving the program.

A figure is not a screenshot. The program draws it again, off screen, at the physical size and resolution you ask for, so the text, the lines and the molecules are sharp at any size and the type comes out at the same point size whether the figure is written at 300 or 600 dpi. The view on screen is left as it was.

There are two figure dialogs: one for charts (scatter plots, curves, histograms, networks) and one for 3D views (structures, contour maps, atom cubes, pharmacophores). Both open from the camera button of the chart or of the 3D viewer toolbar.

The camera button at the right end of a chart heading, here beside Observed vs predicted on the Validation tab of a model report. Every chart of every dashboard has one.
The camera button at the right end of a chart heading, here beside Observed vs predicted on the Validation tab of a model report. Every chart of every dashboard has one.

Chart figures

The chart figure dialog set to a PNG of 170 by 120 mm at 600 dpi with the publication theme. The line at the bottom gives the resulting image size, 4016 by 2835 pixels.
The chart figure dialog set to a PNG of 170 by 120 mm at 600 dpi with the publication theme. The line at the bottom gives the resulting image size, 4016 by 2835 pixels.
ControlDefaultMeaning, and when to change it
FormatSVG (vector)SVG (vector) stays sharp at any magnification and can be edited in a drawing program; PNG (raster) is what most submission systems take.
UnitsMillimetresMillimetres, Inches or Pixels. Changing the unit converts the size, so the figure keeps its physical size: 170 mm becomes 6.693 in, or 4016 px at 600 dpi.
Width, Height170.0 by 120.0The size of the figure in the chosen unit.
Resolution (DPI)600Dots per inch of a PNG, 72 to 2400. Journals ask for 300 dpi for colour figures and 600 dpi or more for line art.
Publication figureOne step to an SVG of 170 by 120 mm at 600 dpi on white, with the publication theme and text enlarged by 1.15.
85 mm single column, 170 mm double column85 by 65 mm and 170 by 120 mm, the column widths most journals quote.
300 dpi, 600 dpiThe two usual resolutions.
Font scale1.00 xMultiplies every text size of the figure, 0.5 to 2.5. Raise it for a figure that will be printed small.
Transparent backgroundOffWrites no background, so the figure can be laid over a coloured page or slide.
Publication themeOnWhite background, black frame and larger text. Off keeps the look of the chart on screen.
File, BrowseNamed after the chartWhere the figure is written; the extension follows the format.

The chart in a figure is drawn from the same specification as the chart on screen and the chart in the report, so all three show the same numbers. After the export a notification names the file.

An observed against predicted figure of a DHFR model at 174 mm and 300 dpi. The statistics box, the y = x line and the three series (training, cross-validated, test) are all part of the chart, so the figure needs no editing.
An observed against predicted figure of a DHFR model at 174 mm and 300 dpi. The statistics box, the y = x line and the three series (training, cross-validated, test) are all part of the chart, so the figure needs no editing.
The applicability-domain figure of an ESOL model: the distribution of Tanimoto distances to the training set for training and test compounds, the threshold as a dashed line and the region outside the domain shaded.
The applicability-domain figure of an ESOL model: the distribution of Tanimoto distances to the training set for training and test compounds, the threshold as a dashed line and the region outside the domain shaded.
The ROC curve of a blood-brain-barrier classifier on its test set. The area and its 95 % confidence interval are in the subtitle, and the diagonal marks a random classifier.
The ROC curve of a blood-brain-barrier classifier on its test set. The area and its 95 % confidence interval are in the subtitle, and the diagonal marks a random classifier.

3D figures

The camera button of a 3D viewer opens the 3D figure dialog. On the right is a preview: the same figure rendered at a low resolution, so what it shows is what will be written, legend and scale bar included. The size line under it gives the pixels, the millimetres and the resolution.

The 3D figure dialog for the aligned thrombin inhibitors in the 3D workspace, with its defaults: a single view of 85 by 64 mm at 300 dpi on white, with a scale bar of 2 Å in the preview.
The 3D figure dialog for the aligned thrombin inhibitors in the 3D workspace, with its defaults: a single view of 85 by 64 mm at 300 dpi on white, with a scale bar of 2 Å in the preview.
ControlDefaultMeaning, and when to change it
LayoutSingle viewSingle view, or Figure panels: several panels of the same scene, each with a letter.
UnitsMillimetresSingle view only: millimetres at a resolution, or pixels (64 to 20 000 per side; the resolution then still sets the size of text and lines).
Journal width85 mm85 mm (single column), 114 mm (one and a half columns) and 174 mm (double column). A single view keeps its proportions when you change the width this way.
Width (mm), Height85.0 by 64.020 to 600 mm. A panel figure has a width only; its height follows from its panels.
Resolution300Dots per inch, 72 to 1200, with 300 dpi and 600 dpi as buttons. It is written into the PNG and sets the size of text and lines.
Anti-aliasing2 xSamples per pixel edge, 1 x to 4 x. 2 x is right for print; higher is slower and rarely visible.
BackgroundWhiteWhite, Black, Transparent, Gradient or As on screen. White is what a journal prints.
LegendAutomaticAutomatic puts the legend below the scene when the figure is narrower than 120 mm or has more than one legend, and in the corner otherwise. In the corner, Below and Off set it by hand.
Scale barShownA bar of a round length in Ångström, or None. Keep it whenever sizes matter to the reader.
IncludeLabels on, Axes offAxes draws the axis triad, Labels the atom and distance labels of the view.
RenderingBoth onPublication look: crisp outlines, contact shadows and print tone mapping, with the lighting of the view kept. Fit to content: frames the molecules and maps tightly; switch it off to keep the camera of the view on screen.
TitleNoneA title drawn into the figure: in the top-left corner of a single view, in a band above the panels of a panel figure. Some views fill it in, for example with the name of a pharmacophore hypothesis.
Font scale1.00 xEnlarges the text of the figure, 0.5 to 2.5.
File, BrowseWhere the PNG is written.
View state fileOnAlso writes <name>.view.json next to the image: the camera and the render settings of the figure. Load view in the View section of a 3D panel restores them, so the figure can be made again after the data change. The view state is embedded in the PNG as well.
The dialog for a contour map. At 85 mm the automatic legend moves below the scene, and each map states its threshold and the ligand it is drawn around.
The dialog for a contour map. At 85 mm the automatic legend moves below the scene, and each map states its threshold and the ligand it is drawn around.
The dialog for a pharmacophore hypothesis, with the title filled in from the hypothesis (ADH_1 · matched by 3 actives) and the feature legend below the scene.
The dialog for a pharmacophore hypothesis, with the title filled in from the hypothesis (ADH_1 · matched by 3 actives) and the feature legend below the scene.

Multi-panel figures

Figure panels composes several panels of one scene into a single image, each panel with its letter, (A), (B), and so on, followed by what it shows. Every panel uses the same camera, fitted to the content of all of them, so sizes compare directly across the panels and one scale bar serves the whole figure. The legends of all panels are merged into one strip below the grid.

The panel controls of the 3D figure dialog: one panel per direction, automatic columns, 114 mm wide, one scale bar for the figure and panel letters on.
The panel controls of the 3D figure dialog: one panel per direction, automatic columns, 114 mm wide, one scale bar for the figure and panel letters on.
ControlDefaultMeaning
One panel perdepends on the viewFields: one panel per field of a contour map. Atom classes: one panel per class of an atom-based model. Directions: best view, front, side and top, offered by every 3D view. Some views offer more, such as the excluded volumes of a pharmacophore.
ColumnsAutomaticAutomatic stacks the panels in one column below 120 mm, so each panel gets the whole width, and arranges them in a near-square grid at wider sizes (five fields in three columns). 1 to 4 set it by hand.
Width (mm)The total width; the height follows from the panels (4:3 each, 2 mm gutters).
LegendAutomaticIn a panel figure Below is one shared legend strip for the figure and In the corner one legend in every panel. When the legends in the panels would cover more than a quarter of a panel, or would not fit, the figure is written with one legend below instead, and the preview says Legend moved below. It warns Large legend when the legend takes more than a third of the figure.
Scale barOne for the figureOne for the figure, In every panel, or None.
Panel lettersOnThe (A), (B), ... labels; switch off to letter the panels in a layout program.
With Columns on Automatic, a figure narrower than 120 mm stacks every panel in one column, so four panels at 114 mm make a figure 380 mm tall. Choose 174 mm, or set the columns by hand, for a figure of several panels.

Examples

The figures below were written by the program with the dialogs described above, at 174 mm and 300 dpi, and are shown here unedited.

A single view: the steric and electrostatic contour maps of a thrombin model around ligand 02. The legend below the scene names each colour with its contour level and states that each lobe encloses at most 1 % of the lattice.
A single view: the steric and electrostatic contour maps of a thrombin model around ligand 02. The legend below the scene names each colour with its contour level and states that each lobe encloses at most 1 % of the lattice.
One panel per field: the contour maps of a thrombin model in panels, all seen from one camera, with one merged legend and a single 5 Å scale bar for the figure.
One panel per field: the contour maps of a thrombin model in panels, all seen from one camera, with one merged legend and a single 5 Å scale bar for the figure.
One panel per atom class: the cubes of an atom-based model, blue where an atom of the class raises the predicted activity and red where it lowers it. Comparing the panels shows at once that the hydrophobic class (B) carries most of the model.
One panel per atom class: the cubes of an atom-based model, blue where an atom of the class raises the predicted activity and red where it lowers it. Comparing the panels shows at once that the hydrophobic class (B) carries most of the model.
A pharmacophore hypothesis of the thrombin actives with its title: the five sites with their tolerance spheres, every inter-site distance and angle, and the feature legend in the corner.
A pharmacophore hypothesis of the thrombin actives with its title: the five sites with their tolerance spheres, every inter-site distance and angle, and the feature legend in the corner.

The dashboards that export these figures are described with The model dashboard, The 3D-QSAR dashboard, Contour maps and atom cubes and Pharmacophore hypotheses.