A lightweight plotting library
plot-light provides functionality for rendering 2D graphics. It is geared in particular towards scientific plotting, and it is called “light” because it only requires a few common Haskell dependencies.
It builds upon
blaze-svg by adding type-safe combinators, geometry primitives and high-level graphing functionality.
To use this project you just need
import Graphics.Rendering.Plot.Light. If GHC complains of name clashes you can import the module in “qualified” form.
Available on Hackage : https://hackage.haskell.org/package/plot-light in the
You can use
plot-light in your own projects (either personal, academic or commercial). All feedback such as comments, bug reports, new documentation, feature requests and patches is welcome.
BSD-3, see LICENSE file
0.4 Remove data-default-* Improve shape colour representation: shapes can have a colour fill, a coloured contour, or both (see 'ShapeCol'). 0.3.3 Add Semigroup instances to everything that had Monoid instances (since from GHC 8.4.2 Semigroup m => Monoid m ) 0.3 Stackage LTS bump to 11.0 (GHC 8.4.1) Removed dependencies: palette, attoparsec Moved data and examples to plot-light-examples Add bilinear interpolation 0.2.9 Bumped attoparsec-time to >= 1 to reflect module structure change