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

Stabilityexperimental
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Safe HaskellNone

Simulation.Aivika.Experiment.Chart.FinalHistogramView

Description

Tested with: GHC 7.6.3

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

Synopsis

Documentation

data FinalHistogramView Source

Defines the View that saves the histogram in the PNG file by 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 :: FileName

It defines the file name for the PNG file. It may include special variable $TITLE.

An example is

   finalHistogramFileName = UniqueFileName "$TITLE" ".png"
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.

finalHistogramSeries :: [String]

It contains the labels of data 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.