solow-graphics
Statistical-graphics helpers that compute the data behind a plot and render
it through the [solow_viz] SVG backend. Every routine returns both the
rendered [Figure] and the computed arrays, so the numerics can be tested
independently of the (intentionally un-pixel-exact) SVG output.
Provided:
- [
ProbPlot] / [qqplot] — theoretical vs. sample quantiles of a probability plot, plus the fitted reference line ([QqLine]). - [
plot_acf] / [plot_pacf] — the (biased) autocorrelation and the Yule-Walker partial autocorrelation, with a white-noise confidence band. - [
plot_resid_fitted] — a residuals-vs-fitted diagnostic scatter.
use ProbPlot;
let data = ;
let pp = new;
assert_eq!;
let line = pp.qqline_regression;
let svg = pp.qqplot.to_svg;
assert!;
let _ = line.slope;