[Haskell-cafe] Matplotlib analog for Haskell?
aslatter at gmail.com
Fri Jun 3 17:04:20 CEST 2011
On Fri, Jun 3, 2011 at 9:57 AM, Dmitri O.Kondratiev <dokondr at gmail.com> wrote:
> On Fri, Jun 3, 2011 at 3:44 PM, Ivan Lazar Miljenovic
> <ivan.miljenovic at gmail.com> wrote:
>> On 3 June 2011 21:39, Dmitri O.Kondratiev <dokondr at gmail.com> wrote:
>> > Hello,
>> > Please advise on Haskell 2D plotting libraries to generate plots,
>> > histograms, power spectra, bar charts, errorcharts, scatterplots, etc,
>> > similar to what Matplotlib does:
>> > http://matplotlib.sourceforge.net/
>> I was going to list the possible packages but found too many... so
>> search for "chart" and "plot" on Hackage:
>> In particular, the Chart, plot and gnuplot libraries probably do what
>> you want (or at least a subset).
> I tried gnuplot:
> GHCi, version 7.0.3: http://www.haskell.org/ghc/ :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer-gmp ... linking ... done.
> Loading package base ... linking ... done.
> Loading package ffi-1.0 ... linking ... done.
> Prelude> import Graphics.Gnuplot.Simple
> Prelude Graphics.Gnuplot.Simple> :l Demo.hs
> Could not find module `Paths_gnuplot':
> Use -v to see a list of the files searched for.
> Failed, modules loaded: none.
> Prelude Graphics.Gnuplot.Simple>
> Where to get `Paths_gnuplot': module?
Have you installed the gnuplot package?
What command did you use to start GHCi?
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe