probability-0.2.7: Probabilistic Functional Programming

Safe HaskellSafe
LanguageHaskell98

Numeric.Probability.Visualize

Contents

Synopsis

Documentation

data FigureEnv Source #

global settings for one figure

Constructors

FE 
Instances
Show FigureEnv Source # 
Instance details

Defined in Numeric.Probability.Visualize

figure :: FigureEnv Source #

default settings for figure environment

types to represent settings for individual plots

data Color Source #

Instances
Eq Color Source # 
Instance details

Defined in Numeric.Probability.Visualize

Methods

(==) :: Color -> Color -> Bool #

(/=) :: Color -> Color -> Bool #

Show Color Source # 
Instance details

Defined in Numeric.Probability.Visualize

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

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 #