| Copyright | Predictable Network Solutions Ltd. 2003-2024 |
|---|---|
| License | BSD-3-Clause |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
DeltaQ.Plot
Description
Plot instances of DeltaQ using Graphics.Rendering.Chart.
Synopsis
- plotCDF :: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) => String -> o -> Layout Double Double
- plotCDFs :: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) => String -> [(String, o)] -> Layout Double Double
- plotCDFWithQuantiles :: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) => String -> [Probability o] -> o -> Layout Double Double
- plotInverseCDF :: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) => String -> o -> Layout Double LogValue
- plotInverseCDFs :: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) => String -> [(String, o)] -> Layout Double LogValue
- plotInverseCDFWithQuantiles :: (DeltaQ o, Enum (Duration o), Fractional (Duration o), Real (Duration o), Real (Probability o)) => String -> [Probability o] -> o -> Layout Double LogValue
Documentation
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.
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.
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.
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.
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.