ansigraph-0.3.0.3: Terminal-based graphing via ANSI and Unicode

Safe HaskellSafe
LanguageHaskell2010

System.Console.Ansigraph

Description

This is the primary module to import for use of the ansigraph package, which provides terminal-based graphing for vectors and matrices of real and complex numbers.

This functionality is implemented via a Graphable type class.

Ansigraph is intended to be used in on of two ways:

  • By importing System.Console.Ansigraph. This provides all the functionality we typically use, including the FlexibleInstances extension which makes it easier to use graphing functions by allowing instances like 'Graphable [Double]'. It also provides System.Console.AnsiGraph.Core which provides all the core functionality. See the Haddock page for that module for more details.
  • By directly importing System.Console.Ansigraph.Core, which does not activate FlexibleInstances but includes everything else provided by the other module. This just means you must use one of a few newtype wrappers, namely: Graph, PosGraph, CGraph, Mat, CMat. They are also available from the standard module.

Documentation