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

cwitte:
Are there any good libraries for drawing plots (2D and 3D) in Haskell (under Windows using GHC)?
There's the 'charts' library, http://dockerz.net/software/chart.html Alternatively, a binding to gnuplot is pretty trivial to hack up (see darcs-graph): http://www.cse.unsw.edu.au/~dons/darcs-graph.html Probably people can suggest some other options. -- Don

cwitte:
Are there any good libraries for drawing plots (2D and 3D) in Haskell (under Windows using GHC)?
There's the 'charts' library, http://dockerz.net/software/chart.html
Alternatively, a binding to gnuplot is pretty trivial to hack up (see darcs-graph): http://www.cse.unsw.edu.au/~dons/darcs-graph.html
Probably people can suggest some other options.
Indeed... If you don't want to bother with a library binding, you can output ploticus commands: http://ploticus.sourceforge.net/doc/welcome.html There's a Ruby example here: http://martinfowler.com/bliki/RubyPloticus.html Alistair ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. *****************************************************************

http://dockerz.net/software/chart.html
This one just appeared in programming.reddit.com today, but it's 2D only.
Uses cairo for rendering
On 2/27/07, Chris Witte
Are there any good libraries for drawing plots (2D and 3D) in Haskell (under Windows using GHC)?
Cheers Chris Witte _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Ricardo Guimarães Herrmann "Any sufficiently complicated C or Fortran program contains an ad hoc, informally specified, bug-ridden, slow implementation of half of Common Lisp" "Any sufficiently complicated Lisp or Ruby program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Haskell"

Chirs Witte wrote:
Are there any good libraries for drawing plots (2D and 3D) in Haskell (under Windows using GHC)?
Dons has already mentioned my charting library: http://dockerz.net/software/chart.html This is 2D only for now. "good" depends your perspective :-) It is (intended to be) quite extensible. Russell O'Connor recently contributed automatic scaling log axes. The web-page + documentation is due for an update. Get the latest version from darcs. Hopefully the haddock doco + examples is enough to get going. Tim

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
participants (6)
-
Bayley, Alistair
-
Chris Witte
-
dons@cse.unsw.edu.au
-
Henning Thielemann
-
Ricardo Herrmann
-
Tim Docker