Visualization & Artifacts¶
TabDat follows a terminal-first, silent-by-default visualization philosophy. Plots are rendered into clean static image artifacts (PNG, SVG, PDF) and saved to disk without popping intrusive GUI windows.
Plot Commands¶
1. Histogram (histogram)¶
Plot the empirical distribution of a continuous variable:
tabdat> histogram income
Plot saved: artifacts/plots/histogram-income.png
file:///Users/username/project/artifacts/plots/histogram-income.png
Specify custom bins or frequency mode:
2. Scatter Plot (scatter)¶
Generate a bivariate scatter plot with optional fit line:
3. Categorical Bar Chart (bar)¶
Display frequency distributions for categorical variables:
Include missing categories with , missing:
4. Bayesian MCMC Diagnostics (bayesplot)¶
Generate MCMC diagnostic plots after fitting a bayes: model:
tabdat> bayes: regress wage educ exper
tabdat> bayesplot trace
tabdat> bayesplot density
tabdat> bayesplot autocorrelation
Plot Settings & Configuration¶
| Setting | Values | Default | Description |
|---|---|---|---|
graph_format |
png, svg, pdf |
png |
Image file format for saved plots. |
artifact_dir |
Path string | artifacts |
Root directory for plot and report artifacts. |
graph_open |
true, false |
false |
If true, automatically launches system image viewer. |
Change settings interactively with set:
Or pass explicit output paths using saving(...):