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

CopyrightCopyright (c) 2012-2015, David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell98

Simulation.Aivika.Experiment.Chart.FinalHistogramView

Description

Tested with: GHC 7.10.1

The module defines FinalHistogramView that plots a histogram by the specified series in final time points collected from different simulation runs.

Synopsis

Documentation

data FinalHistogramView Source

Defines the View that plots the histogram for the specified series in final time points collected from different simulation runs.

Constructors

FinalHistogramView 

Fields

finalHistogramTitle :: String

This is a title used in HTML.

finalHistogramDescription :: String

This is a description used in HTML.

finalHistogramWidth :: Int

The width of the histogram.

finalHistogramHeight :: Int

The height of the histogram.

finalHistogramFileName :: ExperimentFilePath

It defines the file name with optional extension for each image to be saved. It may include special variable $TITLE.

An example is

  finalHistogramFileName = UniqueFilePath "$TITLE"
finalHistogramPredicate :: Event Bool

It specifies the predicate that defines when we count data when plotting the histogram.

finalHistogramBuild :: [[Double]] -> Histogram

Builds a histogram by the specified list of data series.

finalHistogramTransform :: ResultTransform

The transform applied to the results before receiving series.

finalHistogramSeries :: ResultTransform

It defines the series to be plotted on the histogram.

finalHistogramPlotTitle :: String

This is a title used in the histogram. It may include special variable $TITLE.

An example is

  finalHistogramPlotTitle = "$TITLE"
finalHistogramPlotBars :: PlotBars Double Double -> PlotBars Double Double

A transformation based on which the plot bar is constructed for the series.

Here you can define a colour or style of the plot bars.

finalHistogramLayout :: Layout Double Double -> Layout Double Double

A transformation of the plot layout, where you can redefine the axes, for example.

defaultFinalHistogramView :: FinalHistogramView Source

The default histogram view.