plot
Line plot of columns from a CSV (a file from an earlier run, or inline text), optionally one line per value of a group column, and a second CSV overlaid dashed (theory against simulation). Writes plot.png. Readings: point count, series drawn, the range of each y column.
- Field
- Measurement and data
- Version
- 0.2.0
- Runs as
- Compiled (Rust)
- Typical run
- 2 s
Compiled from source: run sh packs/install.sh once before admitting it.
Known answers it must pass
r0001inline data: three points, y from 0 to 4passed
points= 33lockedexact matchy_min00lockedy_max44lockedr0002grouped: two groups of two points are two linespassed
series= 22lockedexact matchpoints= 44lockedexact matchy_max33locked
Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.
Inputs
| Name | Unit | Default | Meaning |
|---|---|---|---|
csv | A CSV file with a header row. | ||
data | Inline CSV text, used when csv is not given. | ||
x | Column for the x axis. Default: the first column. | ||
y | Comma-separated columns to plot. Default: every column but x. | ||
title | |||
xlabel | |||
ylabel | |||
logy | false | ||
group | A column whose values split the rows into separate lines (e.g. one per precompression). | ||
overlay_csv | A second CSV with the same columns, drawn dashed in the same colours. | ||
label | Legend name for the first CSV. | ||
overlay_label | Legend name for the overlay. |
Readings
| Name | Unit | Meaning |
|---|---|---|
points | ||
<column>_min | ||
<column>_max | ||
plot.png | ||
series |
Try the call
Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.