[Haskell-cafe] Matplotlib analog for Haskell?
Henning Thielemann
lemming at henning-thielemann.de
Sat Jun 11 00:10:02 CEST 2011
On Sat, 11 Jun 2011, Dmitri O.Kondratiev wrote:
> Yes, you did, thanks. Yet, please allow me to ask a few more questions here, before I subscribe to gnuplot list. I am really
> short on time - must have some plots for demo next Monday (
>
> 1) Can current version of gnuplot draw histograms? I need these first of all.
> 2) It seems that "$ ghci -Wall -i:src:dist/build/autogen:execute/tmp src/Demo.hs"
> works on Mac OSX, yet I can't make it produce any output directly on screen.
> How to generate output and display it immediately in an output window?
Calling 'main' from the Demo module should open several gnuplot windows
showing some examples. If it does not, then this might be a difference of
gnuplot between Mac and Linux. For PNG output use the Terminal.PNG module
instead of Terminal.X11. In the latest version from darcs repository,
there is also histogram support and a demo of it.
darcs get http://code.haskell.org/gnuplot/
More information about the Haskell-Cafe
mailing list