Chart-1.1: A library for generating 2D Charts and Plots

Safe HaskellNone

Graphics.Rendering.Chart.Plot.ErrBars

Contents

Description

Plot series of points with associated error bars.

Synopsis

Documentation

data PlotErrBars x y Source

Value defining a series of error intervals, and a style in which to render them.

defaultPlotErrBars :: PlotErrBars x ySource

Deprecated: Use the according Data.Default instance!

data ErrPoint x y Source

Constructors

ErrPoint 

Fields

ep_x :: ErrValue x
 
ep_y :: ErrValue y
 

Instances

(Show x, Show y) => Show (ErrPoint x y) 

data ErrValue x Source

Value for holding a point with associated error bounds for each axis.

Constructors

ErrValue 

Fields

ev_low :: x
 
ev_best :: x
 
ev_high :: x
 

Instances

Show x => Show (ErrValue x) 

symErrPoint :: (Num a, Num b) => a -> b -> a -> b -> ErrPoint a bSource

When the error is symmetric, we can simply pass in dx for the error.

Accessors

These accessors are generated by template haskell

plot_errbars_values :: forall x y x y. Lens (PlotErrBars x y) (PlotErrBars x y) [ErrPoint x y] [ErrPoint x y]Source