Copyright | (c) Tim Docker 2006 2014 |
---|---|
License | BSD-style (see chart/COPYRIGHT) |
Safe Haskell | None |
Language | Haskell98 |
Plot series of points with associated error bars.
Synopsis
- data PlotErrBars x y = PlotErrBars {}
- data ErrPoint x y = ErrPoint {}
- data ErrValue x = ErrValue {}
- symErrPoint :: (Num a, Num b) => a -> b -> a -> b -> ErrPoint a b
- plot_errbars_title :: forall x y. Lens' (PlotErrBars x y) String
- plot_errbars_line_style :: forall x y. Lens' (PlotErrBars x y) LineStyle
- plot_errbars_tick_length :: forall x y. Lens' (PlotErrBars x y) Double
- plot_errbars_overhang :: forall x y. Lens' (PlotErrBars x y) Double
- plot_errbars_values :: forall x y x y. Lens (PlotErrBars x y) (PlotErrBars x y) [ErrPoint x y] [ErrPoint x y]
Documentation
data PlotErrBars x y Source #
Value defining a series of error intervals, and a style in which to render them.
Instances
ToPlot PlotErrBars Source # | |
Defined in Graphics.Rendering.Chart.Plot.ErrBars toPlot :: PlotErrBars x y -> Plot x y Source # | |
Default (PlotErrBars x y) Source # | |
Defined in Graphics.Rendering.Chart.Plot.ErrBars def :: PlotErrBars x y # |
Value for holding a point with associated error bounds for each axis.
symErrPoint :: (Num a, Num b) => a -> b -> a -> b -> ErrPoint a b Source #
When the error is symmetric, we can simply pass in dx for the error.
Accessors
These accessors are generated by template haskell
plot_errbars_title :: forall x y. Lens' (PlotErrBars x y) String Source #
plot_errbars_line_style :: forall x y. Lens' (PlotErrBars x y) LineStyle Source #
plot_errbars_tick_length :: forall x y. Lens' (PlotErrBars x y) Double Source #
plot_errbars_overhang :: forall x y. Lens' (PlotErrBars x y) Double Source #
plot_errbars_values :: forall x y x y. Lens (PlotErrBars x y) (PlotErrBars x y) [ErrPoint x y] [ErrPoint x y] Source #