| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Diagrams.TwoD.ProbabilityGrid
Description
Probability grid square drawing routines.
- data FillWeight
- gridSquare :: (Monoid m, Semigroup m, TrailLike (QDiagram b V2 Double m)) => FillWeight -> Log Double -> QDiagram b V2 Double m
- grid :: (Renderable (Text Double) b, Renderable (Path V2 Double) b) => FillWeight -> t -> Int -> [String] -> [String] -> [Log Double] -> QDiagram b V2 Double Any
- svgGridFile :: FilePath -> FillWeight -> Int -> Int -> [String] -> [String] -> [Log Double] -> IO ()
- epsGridFile :: String -> FillWeight -> 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.
gridSquare :: (Monoid m, Semigroup m, TrailLike (QDiagram b V2 Double m)) => FillWeight -> 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 -> t -> Int -> [String] -> [String] -> [Log Double] -> QDiagram b V2 Double Any Source
Draw the actual grid.