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
| Slug | Graph Kind | Description |
|---|---|---|
xy | XY Scatter / Line / Fitted Curve | Continuous X vs Y scatter, connected lines, splines, area fills, spaghetti replicate trajectories, composite XY bars with series nudging, and decoupled subset-fit overlays. |
column | Column Bar / Box / Violin / Dot | One-way vertical or horizontal categorical comparisons with bar, box, violin, raincloud, beeswarm, or paired before-after lines. |
grouped | Grouped Multi-Factor Figure | Clustered, separated, stacked, or superimposed multi-factor vertical or horizontal (population pyramid) bar and point figures. |
contingency | Contingency Bar / Stacked Proportions | Categorical count or percentage bars from contingency tables. |
parts-of-whole | Parts of Whole (Pie / Donut / Waffle) | Pie, donut, stacked fraction bar, or 10x10 waffle chart. |
survival | Kaplan–Meier Survival Curve | Kaplan–Meier staircase or direct trajectories (survival % / cumulative event % / fraction) with censoring ticks, Greenwood SEM/95% CI bands, and risk tables. |
multiple-variables | Multiple Variables Bubble / Matrix | Multivariate bubble scatter or categorical summary mapping continuous/categorical axes, colour, size, hulls, and confidence ellipses. |
diagnostic-heatmap | Diagnostic: Heatmap | Color-mapped 2D matrix with configurable row/column label sources, 0°/45°/90° rotated column headers, cell annotations, and tile gaps. |
diagnostic-volcano | Diagnostic: Volcano Plot | Effect fold-change or difference vs -log10(p) / -log10(q) significance. |
diagnostic-bland-altman | Diagnostic: Bland–Altman Plot | Difference/ratio vs average method-comparison plot with bias and 95% LoA. |
diagnostic-roc-curve | Diagnostic: ROC Curve | Sensitivity vs 1 - Specificity receiver operating characteristic curve. |
diagnostic-forest-plot | Diagnostic: Forest Plot | Horizontal effect-size, odds-ratio, or hazard-ratio plot from summary or study bounds with optional pooled summary diamond. |
diagnostic-residual-plot | Diagnostic: Residual Plot | Regression residuals vs predicted Y or X scatter diagnostic. |
diagnostic-normal-qq-plot | Diagnostic: Normal Q–Q Plot | Theoretical normal quantiles vs observed/residual quantiles. |
Graph Type Chooser Options (GRAPH_TYPE_OPTIONS)
| Option ID | Label | Compatible Tables | Summary |
|---|---|---|---|
xy.scatter | XY Scatter (Points Only) | XY | Individual replicate markers or Mean +/- SD error bars |
xy.scatter_line | XY Points + Connecting Lines | XY | Point-to-point or spline curve connecting series points |
col.bar_replicates | Bar with Individual Points | Column, Nested | Mean/Median bar + deterministic beeswarm replicate overlay |
col.before_after | Before-After Paired Lines | Column | Connect matched subjects across paired conditions |
col.box_whisker | Box and Whiskers (Tukey / Min-Max) | Column, Grouped | Median, IQR box, Tukey whiskers, and outlier points |
col.violin | Violin Plot | Column, Grouped | Kernel density contour clipped to observed data range |
col.raincloud | Raincloud Plot (Half-Violin + Points) | Column, Grouped | Half-violin kernel density with aligned individual replicate points |
col.aligned_dot | Scatter Dot Plot + Crossbar | Column, Nested | Beeswarm or aligned points with Mean/Median summary line |
grouped.interleaved | Grouped Interleaved Bars | Grouped, Contingency | Clustered bars across Row Factor levels with error bars |
grouped.stacked | Grouped / Contingency Stacked | Grouped, Contingency | Stacked component bars across categorical rows |
grouped.superimposed | Grouped Superimposed | Grouped | Overlaid series across Row Factor levels for direct comparison |
survival.km | Kaplan-Meier Survival Curve | Survival | Step survival function with censoring ticks & Greenwood CIs |
parts.donut | Donut / Pie Parts of Whole | Parts of Whole | Proportional slices or 10x10 waffle grid with center total |
mv.bubble | Bubble Plot (5-Channel Multivariate) | Multiple Variables | Map X, Y, Color (categorical/continuous), Size, and Label |
diag.heatmap | Heatmap (2D Matrix) | Grouped, Multiple Variables | Perceptual Viridis / Cividis / Diverging tile grid |
diag.volcano | Volcano Plot | XY, Multiple Variables | Log2 fold change vs -log10(q) with dual threshold cutoffs |
diag.bland_altman | Bland-Altman Method Comparison | Column, XY | Mean vs Difference with bias and +/- 1.96 SD limits |
diag.roc | ROC Curve Diagnostic | Column, XY | Sensitivity vs 1-Specificity with diagonal identity line |
diag.forest | Forest Plot (Effects & 95% CIs) | Grouped, Multiple Variables | Horizontal point-estimate and confidence-interval whiskers |
diag.residual | Residual Diagnostic Plot | XY, Column, Grouped, Multiple Variables | Fitted/predicted vs residual scatter diagnostic |
diag.normal_qq | Normal Q-Q Plot | XY, Column, Grouped, Multiple Variables | Theoretical normal quantiles vs standardized residuals |
Axis Frame Presets (FramePreset)
| Preset | Geometry |
|---|---|
open-l | Open L-shaped bottom X and left Y spines. |
offset-range-tufte | Offset spines trimmed to the plotted data range. |
plain-boxed | Enclosed four-sided frame around the plot area. |
dual-y-secondary-right | Left primary Y axis paired with an independent right Y2 axis. |
origin-crossing | Axes intersecting directly at data coordinate (0, 0). |
Axis Scale Bijections (AxisScale)
| Scale | Domain & Transform |
|---|---|
linear | Identity g(u) = u over finite reals. |
log10 | Base-10 logarithm over u > 0. |
log2 | Base-2 logarithm over u > 0. |
ln | Natural logarithm over u > 0. |
logit-percent | Logit ln(p / (1 - p)) over u in (0, 100). |
logit-proportion | Logit ln(p / (1 - p)) over u in (0, 1). |
probit | Normal probability quantile transform over u in (0, 100). |
reciprocal | Reciprocal 1 / u over nonzero finite u. |
Qualitative Colour Palettes (PaletteId)
| Palette | Swatches (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)
| Colormap | Control Stops |
|---|---|
| Viridis | 17 uniform Oklab stops |
| Cividis (CVD-Optimized) | 17 uniform Oklab stops |
| Plasma | 17 uniform Oklab stops |
| Diverging Blue-Red | 9 uniform Oklab stops |
| Grayscale | 2 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
ScatterAndLineandBarWithReplicatesseries onXygraphs, shift series viaSeriesOffsetSpec(x_data,x_pt,y_pt), trace longitudinalIndividualReplicateTrajectories, or setshow_raw_data: falsefor decoupled subset-fit curve overlays. - Horizontal orientation & population pyramids: Set
CartesianOrientation::HorizontalonColumnandGroupedplots paired withTickLabelFormat::AbsoluteDecimal(|x|) for symmetric diverging pyramids. - Kaplan–Meier modes & Greenwood intervals: Select
SurvivalDisplayMetric(PercentSurvival,PercentCumulativeEvent,FractionSurvival), toggle staircase vs. direct segments, and choose GreenwoodSemorConfidenceInterval95error displays. - Forest study bounds & vertical-label heatmaps: Plot Forest study confidence intervals with optional pooled summary diamonds (
forest_show_pooled_diamond), and configureHeatmapLabelSpecrow/column label sources,Horizontal0/Angled45/Vertical90column rotation, cell annotations, andcell_gap_pt. - Batch per-dataset creation & selective style cloning: Create one graph sheet per dataset in one undo step (
one_per_data_setongraph.create), and selectively clone palette, frame/axes, or error-bar/legend settings viagraph.applyStyleFrom. - Live rectangular tables, TeX equations & embedded raster images: Place transposable row/column slices via
EmbeddedResultTableandLiveTable(selected_rows,selected_cols,EmbeddedTableStyle), liveModelEquationTeX boxes, and content-addressedEmbeddedImageassets (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 withlayout.reorderPanel, and layer transparent axis-free inset graphs.