Chart-1.9.4: A library for generating 2D Charts and Plots
Copyright(c) Tim Docker 2006 2014
LicenseBSD-style (see chart/COPYRIGHT)
Safe HaskellNone
LanguageHaskell98

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.

Instances

Instances details
ToPlot PlotErrBars Source # 
Instance details

Defined in Graphics.Rendering.Chart.Plot.ErrBars

Methods

toPlot :: PlotErrBars x y -> Plot x y Source #

Default (PlotErrBars x y) Source # 
Instance details

Defined in Graphics.Rendering.Chart.Plot.ErrBars

Methods

def :: PlotErrBars x y #

data ErrPoint x y Source #

Constructors

ErrPoint 

Fields

Instances

Instances details
(Show x, Show y) => Show (ErrPoint x y) Source # 
Instance details

Defined in Graphics.Rendering.Chart.Plot.ErrBars

Methods

showsPrec :: Int -> ErrPoint x y -> ShowS #

show :: ErrPoint x y -> String #

showList :: [ErrPoint x y] -> ShowS #

data ErrValue x Source #

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

Constructors

ErrValue 

Fields

Instances

Instances details
Show x => Show (ErrValue x) Source # 
Instance details

Defined in Graphics.Rendering.Chart.Plot.ErrBars

Methods

showsPrec :: Int -> ErrValue x -> ShowS #

show :: ErrValue x -> String #

showList :: [ErrValue x] -> ShowS #

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_values :: forall x y x y. Lens (PlotErrBars x y) (PlotErrBars x y) [ErrPoint x y] [ErrPoint x y] Source #