On 11.06.2011 02:02, Dmitri O.Kondratiev wrote:
I am looking for platform-independent library to generate simple
histograms in png format.
Does such thing exist?
You may give chart[1,2] a try if dependency on cairo is acceptable.
It can generate PNG among other options.
[1] http
>
> It's an executable rather than a library, but you can use your own Haskell
> code to preprocess/format data and pipe it to the program to generate
> histograms as pngs.
>
> Best,
> Eric
>
>
> On Sun, Jun 12, 2011 at 6:40 AM, C K Kashyap wrote:
>>
>&
There is a program written in Haskell called Timeplot that does this:
http://www.haskell.org/haskellwiki/Timeplot
It's an executable rather than a library, but you can use your own Haskell
code to preprocess/format data and pipe it to the program to generate
histograms as pngs.
Best,
Eric
You might find this useful - http://www.haskell.org/haskellwiki/Library/PNG
Btw, I too am looking for such a library.
Regards,
Kashyap
On Sat, Jun 11, 2011 at 3:32 AM, Dmitri O.Kondratiev wrote:
> I am looking for platform-independent library to generate simple histograms
> in png format.
I am looking for platform-independent library to generate simple histograms
in png format.
Does such thing exist?
Thanks!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Konrad Hinsen <[EMAIL PROTECTED]> writes:
> How would one best (read: most efficiently) create a
> histogram in Haskell?
Check out accumArray.
Feri.
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe
How would one best (read: most efficiently) create a histogram in Haskell?
More precisely, given a list of integers in a known range, I want a count of
how often any given number occurs.
In imperative languages this would be done by iterating over the list and
updating the count for the element