Skip to main content

Crate crisol_plot_core

Crate crisol_plot_core 

Source
Expand description

The egui-free core of Crisol’s plot: axis scales and ticks, the data ↔ screen transform, fits, signal analysis, filters, transforms, pipeline settings, view history, math text, series extents, and decimation.

Nothing here depends on egui, eframe, or the paint stack, so the math can be tested headless and reused by the host, Python, and wasm. The UI crate keeps the public paths (crisol::components::plot::*) with re-exports.

Modules§

analysis
Signal analysis helpers used by the plot UI and by applications directly.
axis
Bounds, axis scales, the data ↔ screen transform, and tick generation.
decimate
Fewer points with the same picture: thinning of unsorted lines, one marker per screen cell for dense scatter, and Ramer–Douglas–Peucker simplification of the screen polylines. The tolerances are below what a display can show.
filter
Filters that can be applied from the chart’s analysis menu.
fit
Least-squares fits and smoothing for plot series.
history
Back and forward through zoom levels.
math_text
A small LaTeX subset for titles, labels, legends, and annotations.
pipeline
The filter and transform pipeline owned by a chart.
series_bounds
Data extents for every plot series kind (the automatic view and caching use them).
state
The egui-free state of one plot: view, tool, selection, legend, and pipeline.
transform
A data ↔ screen transform in plain numbers, with no egui types.
transforms
Fourier and related transforms available from the analysis menu.