Copyright  (c) Tim Docker 2006, 2014 

License  BSDstyle (see chart/COPYRIGHT) 
Safe Haskell  None 
Language  Haskell98 
Datatypes and functions common to the implementation of the various plot types.
 data Plot x y = Plot {
 _plot_render :: PointMapFn x y > BackendProgram ()
 _plot_legend :: [(String, Rect > BackendProgram ())]
 _plot_all_points :: ([x], [y])
 joinPlot :: Plot x y > Plot x y > Plot x y
 class ToPlot a where
 mapXY :: PointMapFn x y > (x, y) > Point
 plot_render :: forall x y. Lens' (Plot x y) (PointMapFn x y > BackendProgram ())
 plot_legend :: forall x y. Lens' (Plot x y) [(String, Rect > BackendProgram ())]
 plot_all_points :: forall x y. Lens' (Plot x y) ([x], [y])
Documentation
Interface to control plotting on a 2D area.
Plot  

joinPlot :: Plot x y > Plot x y > Plot x y Source
Join any two plots together (they will share a legend).
A type class abstracting the conversion of a value to a Plot.
mapXY :: PointMapFn x y > (x, y) > Point Source
plot_render :: forall x y. Lens' (Plot x y) (PointMapFn x y > BackendProgram ()) Source
plot_legend :: forall x y. Lens' (Plot x y) [(String, Rect > BackendProgram ())] Source
plot_all_points :: forall x y. Lens' (Plot x y) ([x], [y]) Source