| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Diagrams.TwoD.ProbabilityGrid
Description
Probability grid square drawing routines.
- data FillWeight
- data FillStyle
- gridSquare :: (Monoid m, Semigroup m, TrailLike (QDiagram b V2 Double m)) => FillWeight -> FillStyle -> Log Double -> QDiagram b V2 Double m
- grid :: (Renderable (Text Double) b, Renderable (Path V2 Double) b) => FillWeight -> FillStyle -> t -> Int -> [String] -> [String] -> [Log Double] -> QDiagram b V2 Double Any
- svgGridFile :: FilePath -> FillWeight -> FillStyle -> Int -> Int -> [String] -> [String] -> [Log Double] -> IO ()
- epsGridFile :: String -> FillWeight -> FillStyle -> Int -> Int -> [String] -> [String] -> [Log Double] -> IO ()
- data RenderChoice
- gridFile :: [RenderChoice] -> String -> FillWeight -> FillStyle -> Int -> Int -> [String] -> [String] -> [Log Double] -> IO ()
Documentation
data FillWeight Source #
Fill weight for our grid. If the fill weight is logarithmic, then
the line length is 1 / (1 + log value) otherwise it is value.
Instances
Constructors
| FSopacityLog | |
| FSopacityLinear | |
| FSfull |
gridSquare :: (Monoid m, Semigroup m, TrailLike (QDiagram b V2 Double m)) => FillWeight -> FillStyle -> Log Double -> QDiagram b V2 Double m Source #
A single square in our grid.
grid :: (Renderable (Text Double) b, Renderable (Path V2 Double) b) => FillWeight -> FillStyle -> t -> Int -> [String] -> [String] -> [Log Double] -> QDiagram b V2 Double Any Source #
Draw the actual grid.
svgGridFile :: FilePath -> FillWeight -> FillStyle -> Int -> Int -> [String] -> [String] -> [Log Double] -> IO () Source #
Render as svg.
epsGridFile :: String -> FillWeight -> FillStyle -> Int -> Int -> [String] -> [String] -> [Log Double] -> IO () Source #
Render as eps.
data RenderChoice Source #
Instances