Datasets, Variables, Bindings, and Units

GX-TXT P011-bis · Scientific Dataset Plot 4.4.2

The Dataset provides values and units. Graph Series links those values to X and Y, sets the axis side and keeps stable references. The name shown in the editor can differ from the ID used in PlotSpec.

Schema of the observations sample

Column
position_s
ID in import order
v0001
Unit
s
Role in the examples
X coordinate
Column
observation_V
ID in import order
v0002
Unit
V
Role in the examples
reading
Column
comparison_V
ID in import order
v0003
Unit
V
Role in the examples
comparison reading
Column
group_code, condition_code, include_code
ID in import order
v0004–v0006
Unit
1
Role in the examples
family, category, filter
Column
y_low_V, y_high_V
ID in import order
v0007, v0008
Unit
V
Role in the examples
lower and upper band limit
Column
error_V
ID in import order
v0009
Unit
V
Role in the examples
symmetric Y uncertainty

In Generic CSV uses the first row as header, comma as separator and point for decimals. If the browser shows different types or units, correct them before building the series. The guide’s scripts assume the IDs shown. For a Dataset with a different schema, select the identifiers you see in Variables before calling the API.

One figure with different sources

Open Analysis → Scientific Dataset Plot → Series… of the chosen output. Save the first series and enter another ID. Choose the second Dataset and its X/Y columns, then save. The plot axis still requires comparable coordinates. Series with different units may need a separate right Y axis. The choice of display unit belongs to Axes.

Dataset lists the Datasets registered in the Session. The drop-downs X and Y are repopulated when you change the source. Check the drop-downs and the previous filters before saving. If a variable or the Dataset no longer exists, restore the original source or register the series again with a valid reference. The curve title and the column name can be the same, while validation uses the IDs.

Panel, plot and separate Dataset

Publishing a figure creates a Plots row and its artifacts. To get a Dataset from a plot you need to use Create Dataset after a scientific selection. The result has its own ID, keeps the identifiers of the source columns and adds the provenance fields.