aivika-experiment-chart-5.3: Simulation experiments with charting for the Aivika library

Simulation.Aivika.Experiment.Chart.HistogramView

Description

Tested with: GHC 8.0.1

The module defines HistogramView that plots the histogram collecting statistics in all integration time points and does it for every simulation run separately.

# Documentation

Defines the View that plots the histogram collecting statistics for all integration time points but for each simulation run separately.

Constructors

 HistogramView FieldshistogramTitle :: StringThis is a title used in HTML.histogramDescription :: StringThis is a description used in HTML.histogramWidth :: IntThe width of the histogram.histogramHeight :: IntThe height of the histogram.histogramFileName :: ExperimentFilePathIt defines the file name with optional extension for each image to be saved. It may include special variables $TITLE, $RUN_INDEX and $RUN_COUNT.An example is histogramFileName = UniqueFilePath "$TITLE - $RUN_INDEX" histogramPredicate :: Event BoolIt specifies the predicate that defines when we count data when plotting the histogram.histogramBuild :: [[Double]] -> HistogramBuilds a histogram by the specified list of data series.histogramTransform :: ResultTransformThe transform applied to the results before receiving series.histogramSeries :: ResultTransformIt defines the series to be plotted on the histogram.histogramPlotTitle :: StringThis is a title used in the histogram when simulating a single run. It may include special variable $TITLE.An example is histogramPlotTitle = "$TITLE" histogramRunPlotTitle :: StringThe run title for the histogram. It is used when simulating multiple runs and it may include special variables $RUN_INDEX, $RUN_COUNT and $PLOT_TITLE.An example is  histogramRunPlotTitle = "$PLOT_TITLE / Run$RUN_INDEX of \$RUN_COUNT" histogramPlotBars :: PlotBars Double Double -> PlotBars Double DoubleA transformation based on which the plot bar is constructed for the series. Here you can define a colour or style of the plot bars.histogramLayout :: Layout Double Double -> Layout Double DoubleA transformation of the plot layout, where you can redefine the axes, for example.

Instances

 Source # Methods Source # Methods

The default histogram view.