Expand description
SVG-first result/statistics visualization.
This module provides histogram and probability-distribution plots for measurement outcomes and other count-based statistics.
§Module Structure
ResultPlotOptions: sorting, coloring, and layout optionsplot_histogram: render ancrate::device::ExecutionResultas raw measured countsplot_distribution: render ancrate::device::ExecutionResultas normalized probabilities
Structs§
- Result
Plot Options - Options for histogram and probability-distribution plots.
Functions§
- plot_
distribution - Plot an execution result’s measured counts as a normalized probability distribution.
- plot_
histogram - Plot an execution result’s raw measured counts as an SVG histogram.
- render_
result_ plot_ to_ file - Write result-plot SVG markup to an output file.