Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Synopsis
- data FigureEnv = FE {}
- figure :: FigureEnv
- data Color
- data LineStyle
- type PlotFun = Float -> Float
- data Plot = Plot {}
- plot :: Plot
- colors :: [Color]
- setColor :: Plot -> Color -> Plot
- autoColor :: [Plot] -> [Plot]
- plotD :: ToFloat a => Dist a -> Plot
- plotRD :: ToFloat a => RDist a -> IO Plot
- plotF :: (FromFloat a, ToFloat b) => (Float, Float, Float) -> (a -> b) -> Plot
- plotL :: ToFloat a => [a] -> Plot
- plotRL :: ToFloat a => T [a] -> IO Plot
- yls :: [Float] -> Plot -> Plot
- metaTuple :: [Float] -> [(Float, Float)] -> [(Float, Float)]
- incr :: (Ord a, Fractional a) => a -> a
- decr :: (Ord a, Fractional a) => a -> a
- type Vis = IO ()
- fig :: [Plot] -> Vis
- figP :: FigureEnv -> [Plot] -> Vis
- showParams :: Show a => [a] -> [String] -> String
- legend :: Float -> Float -> [Plot] -> String
- drawy :: ToFloat a => Int -> Plot -> [a] -> String
- vec :: Show a => [a] -> String
- out0 :: FilePath -> String -> IO ()
- out1 :: FilePath -> String -> IO ()
Documentation
global settings for one figure
types to represent settings for individual plots
settings for individual plots
plotF :: (FromFloat a, ToFloat b) => (Float, Float, Float) -> (a -> b) -> Plot Source #
create a plot from a function
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