Titles, Legends, and Annotations

GX-TXT P011-bis · Scientific Dataset Plot 4.4.2

Use Plots → Presentation on the desired row. Identify the output and its origin before choosing a command that saves an override or regenerates the PNG.

Titles and labels

In Title and labels… sets the title and the captions of X, left Y and right Y. An automatic caption takes names and display units. If you write an explicit text, include the relevant unit and check it after any conversion. Custom X tick captions are set in Axes → Edit pairs. In panel figures, change the title of an individual panel from Configure or through the API.

In P011-bis, in Curve Viewer, report 201 documents a Y caption in which the Unicode minus sign U+2212 appears as a square. If the same defect appears in the output, change only the caption text to an ASCII hyphen and export again. Keep the original numeric values.

Legend

Setting
Placement and Inside location
Use
Choose inside, outside or none. Inside positions let you anchor the box in a free area. For an outside legend, choose the position offered by the renderer, then check that long names and axes stay readable.
Setting
Layout, alignment and columns
Use
Automatic layout, row, column or wrap, depending on the dialog. Align the members at the start, center or end. The columns determine the arrangement where the layout uses them.
Setting
Font unit and Font size
Use
Use inherit, px or pt. Set a positive size and check the image at the delivery resolution. DPI can affect the size rendered in points.
Setting
Background, Border, Border color and Margin
Use
Set a color or a transparent background where allowed, enable or disable the border, use an explicit or inherited RGB and check the space between text and frame.
Setting
Save, Save and rerender, Cancel
Use
Save the override, or save and update the rendering. Use Cancel to keep the previous configuration. The status line under the PNG reports the effective legend.

For example, in a two-series comparison save below, layout wrapped, alignment end and three columns. Set a light background and try first without a border, then with a border. The manual position of the native renderer applies to the legend actually drawn. Check the preview after releasing and publishing.

Raster annotations and scientific references

In Presentation → Annotate… choose an element, draw it on the canvas and apply its properties. Text uses text, font, size, pixels or points, color, background, border, rotation and alignment. Line and Arrow use stroke, width and solid, dashed or dotted style. Arrow offers a triangular, open or no head. Rectangle and Ellipse include fill and opacity. You can lock an element, hide it, bring it to the front or send it back, remove it and use Undo or Redo.

Save keeps the annotation layer, Save & Close saves and closes. The digest of the scientific PNG stays the original one. Use the annotated export to get a file that includes the layer. Check the result by reopening the editor and counting the visible objects.

PlotSpec also offers reference_line, reference_region and text as scientific panel elements. Set the consistent side, the reference space, the coordinates, the style fields and, for text, the caption. These elements are prepared by the renderer together with the plot. The PlotSpec reference describes the fields of the three shapes.

Test results

Text annotation and properties on the Plots annotation layer.
Text annotation and properties on the Plots annotation layer. Enlarge
Reopening the annotation layer after saving.
Reopening the annotation layer after saving. Enlarge