[Haskell-cafe] Plotting in Haskell

Henning Thielemann lemming at henning-thielemann.de
Wed Feb 28 07:23:19 EST 2007


On Tue, 27 Feb 2007, Chris Witte wrote:

> Are there any good libraries for drawing plots (2D and 3D) in Haskell
> (under Windows using GHC)?

I have a really simple wrapper to GNUPlot:

http://darcs.haskell.org/htam/src/GNUPlot.hs

get it with

darcs get http://darcs.haskell.org/htam/

install it with Cabal or use it immediately:

$ make ghci

> :module GNUPlot
GNUPlot> plotFunc [] (linearScale 1000 (-10,10)) sin



More information about the Haskell-Cafe mailing list