Documented release: v0.1.0-alpha.2 · 2026-11-24 (commit b1c6ebb158) No scripts · No telemetry · A–Z Index

Graphs, Scales & Palettes Registry

Registry of 14 primary and diagnostic graph kinds, 21 graph preset options, axis scales, frame presets, qualitative colour palettes, and continuous colormaps.

Graph Kinds & Diagnostic Plots

SlugGraph KindDescription
xyXY Scatter / Line / Fitted CurveContinuous X vs Y scatter, connected lines, splines, area fills, spaghetti replicate trajectories, composite XY bars with series nudging, and decoupled subset-fit overlays.
columnColumn Bar / Box / Violin / DotOne-way vertical or horizontal categorical comparisons with bar, box, violin, raincloud, beeswarm, or paired before-after lines.
groupedGrouped Multi-Factor FigureClustered, separated, stacked, or superimposed multi-factor vertical or horizontal (population pyramid) bar and point figures.
contingencyContingency Bar / Stacked ProportionsCategorical count or percentage bars from contingency tables.
parts-of-wholeParts of Whole (Pie / Donut / Waffle)Pie, donut, stacked fraction bar, or 10x10 waffle chart.
survivalKaplan–Meier Survival CurveKaplan–Meier staircase or direct trajectories (survival % / cumulative event % / fraction) with censoring ticks, Greenwood SEM/95% CI bands, and risk tables.
multiple-variablesMultiple Variables Bubble / MatrixMultivariate bubble scatter or categorical summary mapping continuous/categorical axes, colour, size, hulls, and confidence ellipses.
diagnostic-heatmapDiagnostic: HeatmapColor-mapped 2D matrix with configurable row/column label sources, 0°/45°/90° rotated column headers, cell annotations, and tile gaps.
diagnostic-volcanoDiagnostic: Volcano PlotEffect fold-change or difference vs -log10(p) / -log10(q) significance.
diagnostic-bland-altmanDiagnostic: Bland–Altman PlotDifference/ratio vs average method-comparison plot with bias and 95% LoA.
diagnostic-roc-curveDiagnostic: ROC CurveSensitivity vs 1 - Specificity receiver operating characteristic curve.
diagnostic-forest-plotDiagnostic: Forest PlotHorizontal effect-size, odds-ratio, or hazard-ratio plot from summary or study bounds with optional pooled summary diamond.
diagnostic-residual-plotDiagnostic: Residual PlotRegression residuals vs predicted Y or X scatter diagnostic.
diagnostic-normal-qq-plotDiagnostic: Normal Q–Q PlotTheoretical normal quantiles vs observed/residual quantiles.

Graph Type Chooser Options (GRAPH_TYPE_OPTIONS)

Option IDLabelCompatible TablesSummary
xy.scatterXY Scatter (Points Only)XYIndividual replicate markers or Mean +/- SD error bars
xy.scatter_lineXY Points + Connecting LinesXYPoint-to-point or spline curve connecting series points
col.bar_replicatesBar with Individual PointsColumn, NestedMean/Median bar + deterministic beeswarm replicate overlay
col.before_afterBefore-After Paired LinesColumnConnect matched subjects across paired conditions
col.box_whiskerBox and Whiskers (Tukey / Min-Max)Column, GroupedMedian, IQR box, Tukey whiskers, and outlier points
col.violinViolin PlotColumn, GroupedKernel density contour clipped to observed data range
col.raincloudRaincloud Plot (Half-Violin + Points)Column, GroupedHalf-violin kernel density with aligned individual replicate points
col.aligned_dotScatter Dot Plot + CrossbarColumn, NestedBeeswarm or aligned points with Mean/Median summary line
grouped.interleavedGrouped Interleaved BarsGrouped, ContingencyClustered bars across Row Factor levels with error bars
grouped.stackedGrouped / Contingency StackedGrouped, ContingencyStacked component bars across categorical rows
grouped.superimposedGrouped SuperimposedGroupedOverlaid series across Row Factor levels for direct comparison
survival.kmKaplan-Meier Survival CurveSurvivalStep survival function with censoring ticks & Greenwood CIs
parts.donutDonut / Pie Parts of WholeParts of WholeProportional slices or 10x10 waffle grid with center total
mv.bubbleBubble Plot (5-Channel Multivariate)Multiple VariablesMap X, Y, Color (categorical/continuous), Size, and Label
diag.heatmapHeatmap (2D Matrix)Grouped, Multiple VariablesPerceptual Viridis / Cividis / Diverging tile grid
diag.volcanoVolcano PlotXY, Multiple VariablesLog2 fold change vs -log10(q) with dual threshold cutoffs
diag.bland_altmanBland-Altman Method ComparisonColumn, XYMean vs Difference with bias and +/- 1.96 SD limits
diag.rocROC Curve DiagnosticColumn, XYSensitivity vs 1-Specificity with diagonal identity line
diag.forestForest Plot (Effects & 95% CIs)Grouped, Multiple VariablesHorizontal point-estimate and confidence-interval whiskers
diag.residualResidual Diagnostic PlotXY, Column, Grouped, Multiple VariablesFitted/predicted vs residual scatter diagnostic
diag.normal_qqNormal Q-Q PlotXY, Column, Grouped, Multiple VariablesTheoretical normal quantiles vs standardized residuals

Axis Frame Presets (FramePreset)

PresetGeometry
open-lOpen L-shaped bottom X and left Y spines.
offset-range-tufteOffset spines trimmed to the plotted data range.
plain-boxedEnclosed four-sided frame around the plot area.
dual-y-secondary-rightLeft primary Y axis paired with an independent right Y2 axis.
origin-crossingAxes intersecting directly at data coordinate (0, 0).

Axis Scale Bijections (AxisScale)

ScaleDomain & Transform
linearIdentity g(u) = u over finite reals.
log10Base-10 logarithm over u > 0.
log2Base-2 logarithm over u > 0.
lnNatural logarithm over u > 0.
logit-percentLogit ln(p / (1 - p)) over u in (0, 100).
logit-proportionLogit ln(p / (1 - p)) over u in (0, 1).
probitNormal probability quantile transform over u in (0, 100).
reciprocalReciprocal 1 / u over nonzero finite u.

Qualitative Colour Palettes (PaletteId)

PaletteSwatches (Hex)
Okabe-Ito (Colorblind-Safe)#0072B2 #D55E00 #009E73 #E69F00 #56B4E9 #CC79A7 #F0E442 #000000
Paul Tol Bright#4477AA #EE6677 #228833 #CCBB44 #66CCEE #AA3377 #BBBBBB
Paul Tol Muted#332288 #88CCEE #44AA99 #117733 #999933 #DDCC77 #CC6677 #882255 #AA4499
Paul Tol High-Contrast#004488 #DDAA33 #BB5566
Paul Tol Vibrant#0077BB #33BBEE #009988 #EE7733 #CC3311 #EE3377 #BBBBBB
Monochrome Print#141414 #525252 #858585 #B8B8B8 #333333 #6B6B6B #9E9E9E #D1D1D1

Continuous Perceptual Colormaps (ColormapId)

ColormapControl Stops
Viridis17 uniform Oklab stops
Cividis (CVD-Optimized)17 uniform Oklab stops
Plasma17 uniform Oklab stops
Diverging Blue-Red9 uniform Oklab stops
Grayscale2 uniform Oklab stops

Graphing, Annotation & Page Layout Capabilities

See Graphs & Page Layouts for full engine command and workflow guidance across the features below:

  • Composite XY, series nudging & spaghetti trajectories: Mix ScatterAndLine and BarWithReplicates series on Xy graphs, shift series via SeriesOffsetSpec (x_data, x_pt, y_pt), trace longitudinal IndividualReplicateTrajectories, or set show_raw_data: false for decoupled subset-fit curve overlays.
  • Horizontal orientation & population pyramids: Set CartesianOrientation::Horizontal on Column and Grouped plots paired with TickLabelFormat::AbsoluteDecimal (|x|) for symmetric diverging pyramids.
  • Kaplan–Meier modes & Greenwood intervals: Select SurvivalDisplayMetric (PercentSurvival, PercentCumulativeEvent, FractionSurvival), toggle staircase vs. direct segments, and choose Greenwood Sem or ConfidenceInterval95 error displays.
  • Forest study bounds & vertical-label heatmaps: Plot Forest study confidence intervals with optional pooled summary diamonds (forest_show_pooled_diamond), and configure HeatmapLabelSpec row/column label sources, Horizontal0 / Angled45 / Vertical90 column rotation, cell annotations, and cell_gap_pt.
  • Batch per-dataset creation & selective style cloning: Create one graph sheet per dataset in one undo step (one_per_data_set on graph.create), and selectively clone palette, frame/axes, or error-bar/legend settings via graph.applyStyleFrom.
  • Live rectangular tables, TeX equations & embedded raster images: Place transposable row/column slices via EmbeddedResultTable and LiveTable (selected_rows, selected_cols, EmbeddedTableStyle), live ModelEquation TeX boxes, and content-addressed EmbeddedImage assets (graph.insertImage, layout.insertImage, edit.pasteImage).
  • Page Layout scale equalization, Z-order & inset layers: Equalize inner plot scaling across panels with layout.equalizeScaling (MatchSmallest, MatchLargest, ExplicitPercent), adjust panel depth with layout.reorderPanel, and layer transparent axis-free inset graphs.
Ready · Offline Desktop · CLI · Local MCP Pure Rust Zero Telemetry MIT / Apache-2.0