Copyright | (c) Tim Docker 2006 2014 |
---|---|
License | BSD-style (see chart/COPYRIGHT) |
Safe Haskell | None |
Language | Haskell98 |
Line plots
Synopsis
- data PlotLines x y = PlotLines {
- _plot_lines_title :: String
- _plot_lines_style :: LineStyle
- _plot_lines_values :: [[(x, y)]]
- _plot_lines_limit_values :: [[(Limit x, Limit y)]]
- defaultPlotLineStyle :: LineStyle
- hlinePlot :: String -> LineStyle -> b -> Plot a b
- vlinePlot :: String -> LineStyle -> a -> Plot a b
- plot_lines_title :: forall x y. Lens' (PlotLines x y) String
- plot_lines_style :: forall x y. Lens' (PlotLines x y) LineStyle
- plot_lines_values :: forall x y. Lens' (PlotLines x y) [[(x, y)]]
- plot_lines_limit_values :: forall x y. Lens' (PlotLines x y) [[(Limit x, Limit y)]]
Documentation
Value defining a series of (possibly disjointed) lines, and a style in which to render them.
PlotLines | |
|
hlinePlot :: String -> LineStyle -> b -> Plot a b Source #
Helper function to plot a single horizontal line.
vlinePlot :: String -> LineStyle -> a -> Plot a b Source #
Helper function to plot a single vertical line.
plot_lines_values :: forall x y. Lens' (PlotLines x y) [[(x, y)]] Source #