probability-0.2.4.1: Probabilistic Functional Programming

Safe HaskellSafe-Inferred

Numeric.Probability.Visualize

Contents

Synopsis

Documentation

data FigureEnv Source

global settings for one figure

Constructors

FE 

Instances

figure :: FigureEnvSource

default settings for figure environment

types to represent settings for individual plots

data Plot Source

settings for individual plots

Constructors

Plot 

Fields

ys :: [Float]
 
xs :: [Float]
 
color :: Color
 
lineStyle :: LineStyle
 
lineWidth :: Int
 
label :: String
 

plot :: PlotSource

default plotting environment

plotD :: ToFloat a => Dist a -> PlotSource

create a plot from a distribution

plotF :: (FromFloat a, ToFloat b) => (Float, Float, Float) -> (a -> b) -> PlotSource

create a plot from a function

plotL :: ToFloat a => [a] -> PlotSource

create a plot from a list

plotRL :: ToFloat a => T [a] -> IO PlotSource

incr :: (Ord a, Fractional a) => a -> aSource

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

decr :: (Ord a, Fractional a) => a -> aSource

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

type Vis = IO ()Source

Visualization output

creating figures

showParams :: Show a => [a] -> [String] -> StringSource

drawy :: ToFloat a => Int -> Plot -> [a] -> StringSource

vec :: Show a => [a] -> StringSource