Configure Axes, Legends and Presentation

Scales, trace controls, annotations and resolution.

Axes, scales and grid

In Plots, select the XAS plot and choose Presentation → Axes…. Use plot-specific configuration applies the settings to this plot. The settings change the display. Dataset values and units stay canonical.

Display unit
inherit uses the effective plot or module setting. auto chooses from the available format, and source uses the variable’s unit. Other choices depend on the recorded series units. The tested family offered keV, and the single curve offered eV. Verify the resulting axis label.
Min / Max / Step
Limits and tick spacing in the displayed unit. Leave a field blank for automatic behavior. Keep the minimum below the maximum. For the example family, enter 7.075–7.165 keV using a decimal point, and set step 0.02.
Format
inherit uses the configured format, and auto determines it from the axis. %g uses general numeric formatting. %.0f, %.1f, %.2f, %.3f and %.4f force zero through four decimal places, respectively. Choose a format that makes the ticks distinguishable.
Scale / Minor grid
linear uses linear increments, log requires positive values and inherit keeps the effective scale. For X, Minor grid offers Off or Auto for minor subdivisions.
2D XY data aspect
auto fits the axes to the available space. xy_equal gives equal numeric increments the same visual scale. inherit keeps the inherited setting. In XAS, energy and absorption are different quantities, so matching the visual scales is unnecessary for comparing curves.
XY grid / Y grid source
both, vertical, horizontal or none selects grid lines in both directions, one, the other or neither. inherit inherits the setting. Horizontal lines use left ticks, right ticks or no axis with none. Grid color sets the color.
Align Y labels / Plot background
Set 1 to align Y labels or 0 to keep them independent, or inherit the setting. Choose a background with the color picker, Inherit to inherit it or Transparent for a transparent export background when supported.
Custom X tick captions
Edit pairs… assigns a label to a numeric position. With no pairs, tick labels remain automatic. Level scales… opens options for side-by-side scales, useful with multiple axes.
Y Right, Z, 3D view and Colormap / colorbar
Set Y Right only for a series assigned to the right axis. Z, 3D view and colorbar are shared dialog controls. The XAS selector opens a 2D Cartesian plot, so those fields do not affect its normal view.

Save saves the configuration. Save and rerender plot updates the PNG immediately. Restore automatic restores automatic behavior and Cancel closes without saving the draft.

Settings for the energy range, step and ticks.
Settings for the energy range, step and ticks.

Read and configure the legend

Presentation → Legend… uses Use plot-specific configuration. Family legend entries come from member indices with prefix Spectrum. Legend settings apply per plot.

Placement
inherit inherits the placement, none hides the legend and inside puts it inside the axes. below, above, right and left place it outside on the specified side. manual needs Manual center X / Y, two normalized values from 0 to 1 for the center. Place legend uses a point selected on the plot.
Legend layout
auto fits the layout automatically. row arranges entries in a row, stacked in a column and wrapped wraps them. For wrapped entries, Wrapped columns controls the number of columns. Leave the field blank to inherit.
Inside preset
For inside placement, choose north, northeast, east, southeast, south, southwest, west or northwest (north … northwest), depending on where the legend keeps details visible. inherit inherits the position.
External alignment
start, center or end aligns the legend along the outer side. inherit inherits the alignment. External margin (px) sets the distance from 0 to 100 pixels. Leave it blank to inherit.
Legend font size
Set the size in px or pt, or use inherit. Background takes a hex color, none or a blank value to inherit. Border accepts 1, 0 or inherit. Border color accepts the border color or can stay blank.

For the four example members, use below, wrapped and two columns. Press Save and rerender plot and check the legend placement and Effective legend status. Save saves without explicitly rendering immediately. Cancel discards the draft.

External legend beneath the plot with a wrapped layout and two columns.
External legend beneath the plot with a wrapped layout and two columns.
The rendered plot shows the legend underneath and the narrowed energy range.
The rendered plot shows the legend underneath and the narrowed energy range.

Title, labels and global plot settings

Presentation → Title and labels… shows Graph title, X / bottom label, Y Left label and Y Right label. Leave a field blank to use the provider’s label. Save applies changes and Cancel closes without applying them. Keep labels consistent with the actual displayed units.

Presentation → Graphics… opens global settings. Output width [px], Output height [px] and Output DPI (72–1200) determine resolution and typographic scale. Axis tick font size, Axis-label font size, Title font size and Line width set shared values. Use px for PNG dimensions and pt for typographic points. Changing the unit converts inherited sizes. Adjust Global grid with Enabled, direction and color, and set the legend fonts and background. Apply confirms, Apply + rerender current plot also regenerates the current plot and Close exits. Global 3D settings apply to 3D views.

Add a plot annotation

Open Presentation → Annotate…. Use Select to select an object. With Text, click where the text should appear. With Line, Arrow, Rectangle or Ellipse, drag on the plot to draw the shape. Undo and Redo undo and redo, Delete deletes the object, and Send back and Bring front change stacking order. Visible and Locked control availability and editability. Choose attributes appropriate to the object type.

Stroke / color, Stroke width and units px or pt control the outline. Line style offers solid, dashed and dotted. Fill and Fill opacity from 0 to 1 control the fill. For an arrow, Arrow head offers triangle, open and none. For text, set content, font, size and unit, Bold, Italic, color, rotation in degrees, horizontal alignment left, center or right, vertical alignment top, middle or bottom, and the background and border.

Apply properties applies the fields to the object. Save JSON saves the layer, Save & close saves and closes and Close exits. The base PNG remains read-only. In Graph → Open PNG 1:1, use Show annotations to show the layer. Import / Export → Export annotated… exports the image with the layer applied.

The annotation layer contains a rectangle whose properties are editable on the right.
The annotation layer contains a rectangle whose properties are editable on the right.