XY Graphs

Scatter panel plotting beam current against temperature

Overview

XY Graphs plot two scalar (0Dts) signals against each other, allowing you to explore correlations between measurements - for example, temperature versus pressure during an in-situ experiment.

In the app this panel is called Scatter in the Panels tab and Scatter Plot in its title bar.

Creating an XY Graph

  1. Open the Panels tab and drag a Scatter panel onto the canvas, then drag 0Dts signals onto that panel.
  2. The first signal you drop onto the panel is mapped to the X-axis, the second to the Y-axis.
  3. Data points are paired by index: the n‑th value of the X signal is plotted against the n‑th value of the Y signal. If the two signals have different lengths, only pairs up to the length of the shorter series are plotted.

Pan and Zoom

Action Effect
Scroll wheel Zoom in / out (centred on cursor)
Click + drag Pan the chart
Shift + click + drag Rectangle zoom to the selected area
Double-click Reset zoom to show full data range
Click on a data point Set the timeline position to that point (when Timeline Cursor & Click Sync is on)
Zoom In / Zoom Out buttons Step zoom from the panel toolbar
Reset Zoom button Reset zoom to show full data range

Axis Labels

Each axis shows the signal name and its unit (e.g. Temperature (°C) vs Pressure (mbar)).

Settings

Select the panel and open the Selection tab on the right to configure the following options.

Display Options

Setting Description Default
Show Points Render individual data points as dots No
Show Lines Draw connecting lines between data points Yes
Timeline Cursor & Click Sync Mark the point at the current timeline position, and let a click on a point move the timeline there Yes

Color

Setting Description Default
Use Gradient Color data points along a two-color gradient based on time index Yes
Start Color First color of the gradient (click the swatch to choose from presets) The Y signal’s colour
End Color Second color of the gradient (click the swatch to choose from presets) Red #ef4444
Chart Color Solid color used when gradient is off (click the swatch to choose from presets) The Y signal’s colour

Time Range

Setting Description Default
Visibility Mode All Time plots every point; Time Range keeps a window around the timeline cursor; Timeline Zoom plots only the points inside the range the timeline is showing All Time
Past Range Seconds before the current time to include (Time Range mode only) 10 s
Future Range Seconds after the current time to include (Time Range mode only) 2 s

Use Cases

  • Hysteresis loops - plot heating vs cooling ramps to observe path-dependent behaviour.
  • Correlation analysis - compare two simultaneously acquired scalar measurements.
  • Phase diagrams - map two environment variables against each other.