[haskell-gnuplot] Haskell Gnuplot histogram example?
Dmitri O.Kondratiev
dokondr at gmail.com
Tue Jun 21 21:09:48 BST 2011
On Tue, Jun 21, 2011 at 11:49 PM, Henning Thielemann <
lemming at henning-thielemann.de> wrote:
>
> On Tue, 21 Jun 2011, Dmitri O.Kondratiev wrote:
>
>
>>
>> On Sat, Jun 11, 2011 at 2:10 AM, Henning Thielemann <
>> lemming at henning-thielemann.de**> wrote:
>> 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/<http://code.haskell.org/gnuplot/>
>>
>>
>> I have got the latest (0.5) from darcs:
>> 1) Where to find generated docs for this version?
>>
>
> If you install with
> $ cabal install --enable-library-documentation
>
> then you find it in
> ~/.cabal/share/doc/gnuplot-0.**5/html/index.html
>
> I think generating haddock documentation is the default in .cabal/config
>
> $ grep docu ~/.cabal/config
> documentation: True
=== I got:
cabal install --enable-library-documentation
unrecognized option `--enable-library-documentation'
=== Yet, this worked for me:
cabal haddock
...
Documentation created: dist/doc/html/gnuplot/index.html
>
>
>
> 2) Where to look for histogram example?
>>
>
> src/Demo.hs
>
>
> 3) I also need to change default histogram colors, any ideas?
>>
>
> You may try to extend the generated curve.gp until you like the histogram
> and I try to extend the Haskell binding accordingly.
>
>
Could not find curv.gp, ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/gnuplot/attachments/20110622/34386f3f/attachment.htm>
More information about the Gnuplot
mailing list