deltaq-1.0.0.0: Framework for ∆Q System Development
CopyrightPredictable Network Solutions Ltd. 2003-2024
LicenseBSD-3-Clause
Safe HaskellSafe-Inferred
LanguageHaskell2010

DeltaQ.Plot

Description

Plot instances of DeltaQ using Graphics.Rendering.Chart.

Synopsis

Documentation

plotCDF Source #

Arguments

:: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) 
=> String

Title

-> o

Outcome to plot

-> Layout Double Double 

Plot the cumulative distribution function (CDF) of a DeltaQ, with title.

plotCDFs Source #

Arguments

:: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) 
=> String

Title

-> [(String, o)]

Outcomes with names

-> Layout Double Double 

Plot multiple CDFs in a single plot, with title.

plotCDFWithQuantiles Source #

Arguments

:: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) 
=> String

Title

-> [Probability o]

Quantiles to highlight

-> o

Outcome to plot

-> Layout Double Double 

Plot the cumulative distribution function (CDF) of a DeltaQ, with title, and annotated with quantiles.

plotInverseCDF Source #

Arguments

:: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) 
=> String

Title

-> o

Outcome

-> Layout Double LogValue 

Plot the inverse cumulative distribution function (CDF) of a DeltaQ, with title.

Visualizes the tail of the distribution better.

plotInverseCDFs Source #

Arguments

:: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) 
=> String

Title

-> [(String, o)] 
-> Layout Double LogValue 

Plot the mulltiple inverse CDFs of a DeltaQ, with title.

Visualizes the tail of the distribution better.

plotInverseCDFWithQuantiles Source #

Arguments

:: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) 
=> String

Title

-> [Probability o]

Quantiles to highlight

-> o

Outcome to plot

-> Layout Double LogValue 

Plot the cumulative distribution function (CDF) of a DeltaQ, with title, and annotated with quantiles.

Visualizes the tail of the distribution better.