<br>On Fri, Jun 3, 2011 at 3:44 PM, Ivan Lazar Miljenovic <span dir="ltr">&lt;<a href="mailto:ivan.miljenovic@gmail.com">ivan.miljenovic@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 3 June 2011 21:39, Dmitri O.Kondratiev &lt;<a href="mailto:dokondr@gmail.com">dokondr@gmail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; Please advise on Haskell 2D plotting libraries to generate plots,<br>
&gt; histograms, power spectra, bar charts, errorcharts, scatterplots, etc,<br>
&gt; similar to what Matplotlib does:<br>
&gt; <a href="http://matplotlib.sourceforge.net/" target="_blank">http://matplotlib.sourceforge.net/</a><br>
<br>
</div></div>I was going to list the possible packages but found too many... so<br>
search for &quot;chart&quot; and &quot;plot&quot; on Hackage:<br>
<a href="http://hackage.haskell.org/package/" target="_blank">http://hackage.haskell.org/package/</a><br>
<br>
In particular, the Chart, plot and gnuplot libraries probably do what<br>
you want (or at least a subset).<br>
<font color="#888888"><br>
--</font><br></blockquote><div>Thanks!<br>I tried gnuplot: <br><br>GHCi, version 7.0.3: <a href="http://www.haskell.org/ghc/">http://www.haskell.org/ghc/</a>  :? for help<br>Loading package ghc-prim ... linking ... done.<br>
Loading package integer-gmp ... linking ... done.<br>Loading package base ... linking ... done.<br>Loading package ffi-1.0 ... linking ... done.<br>Prelude&gt; import Graphics.Gnuplot.Simple<br>Prelude Graphics.Gnuplot.Simple&gt; :l Demo.hs<br>
<br>Demo.hs:25:18:<br>    Could not find module `Paths_gnuplot&#39;:<br>      Use -v to see a list of the files searched for.<br>Failed, modules loaded: none.<br>Prelude Graphics.Gnuplot.Simple&gt;<br><br><br>Where to get `Paths_gnuplot&#39;: module?<br>
<br></div></div>