probability-0.2.5.1: Probabilistic Functional Programming

Safe HaskellSafe
LanguageHaskell98

Numeric.Probability.Visualize

Contents

Synopsis

Documentation

data FigureEnv Source #

global settings for one figure

Constructors

FE 

figure :: FigureEnv Source #

default settings for figure environment

types to represent settings for individual plots

data Plot Source #

settings for individual plots

Constructors

Plot 

Fields

plot :: Plot Source #

default plotting environment

plotD :: ToFloat a => Dist a -> Plot Source #

create a plot from a distribution

plotF :: (FromFloat a, ToFloat b) => (Float, Float, Float) -> (a -> b) -> Plot Source #

create a plot from a function

plotL :: ToFloat a => [a] -> Plot Source #

create a plot from a list

plotRL :: ToFloat a => T [a] -> IO Plot Source #

yls :: [Float] -> Plot -> Plot Source #

metaTuple :: [Float] -> [(Float, Float)] -> [(Float, Float)] Source #

incr :: (Ord a, Fractional a) => a -> a Source #

we want to increase the bounds absolutely, account for negative numbers

decr :: (Ord a, Fractional a) => a -> a Source #

we want to increase the bounds absolutely, account for negative numbers

type Vis = IO () Source #

Visualization output

creating figures

fig :: [Plot] -> Vis Source #

showParams :: Show a => [a] -> [String] -> String Source #

drawy :: ToFloat a => Int -> Plot -> [a] -> String Source #

vec :: Show a => [a] -> String Source #