kuva ternary

Ternary (simplex) scatter plot with barycentric coordinate system.

Input: TSV/CSV with three columns for the A, B, C components of each point.

FlagDefaultDescription
--a <COL>0Column for the top-vertex (A) component
--b <COL>1Column for the bottom-left (B) component
--c <COL>2Column for the bottom-right (C) component
--color-by <COL>Group by column for colored series
--a-label <S>ALabel for the top (A) vertex
--b-label <S>BLabel for the bottom-left (B) vertex
--c-label <S>CLabel for the bottom-right (C) vertex
--normalizeoffNormalize each row so a+b+c=1
--grid-lines <N>5Grid lines per axis
--legendoffShow legend
kuva ternary ternary.tsv --a a --b b --c c --title "Ternary Plot"

kuva ternary ternary.tsv --a a --b b --c c --color-by group \
    --a-label "Silicon" --b-label "Oxygen" --c-label "Carbon" \
    --title "Mineral Composition"

See also: Shared flags — output, appearance, axes, log scale.