Diagrams based plotting library. http://github.com/cchalmers/plots
|Latest on Hackage:||0.1.0.2|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
plots is a plotting library based on diagrams.
Some sample plots:
There are many more plots to be added. There are also plans to support 3D plots. Issues and pull requests welcome.
There are several example plots in the
examples/ directory. To build
the examples, first ensure that you have
stack installed, and that you
stack.yaml file in this directory that contains the lines:
- '.' - 'test'
(If you run the command
stack init, stack will automatically generate
stack.yaml file with the appropriate packages.)
You can then build the examples using
`sh stack build stack exec
RunExamples The RunExamples
script will generate png
the examples_output` directory.
RunExamples script re-builds an example if the output
examples_output/X.png) does not exist, or if the source file
examples/X.hs) has been modified since the last time the script was