[haskell-gnuplot] histogram

Henning Thielemann lemming at henning-thielemann.de
Thu May 26 22:48:39 BST 2011

On Thu, 26 May 2011, Michael Litchard wrote:

> Is there a workaround I could do in the meantime? This is what I need
> to do. The Y-axis would measure "throughput in Kb/sec".
> The X axis would be the average for several different scenarios. I
> wanted the label to say "foo      bar       baz", and then have a
> filled in bar to the appropriate height on the Y-axis. I've been
> throwing around ideas, like making a template gnuplot script and using
> Haskell to munge it as necessary. I've found a Histogram library in
> Haskell, but I don't think it's the same thing as what I need.
> Any ideas?

Maybe you can just plot with a different graph type and then replace say 
'lines' in the gnuplot script by 'histogram'. Would this help to get an 
initial success?

Setting X and Y labels is shown in Demo.file2d.

In Graphics.Gnuplot.Advanced you also find a description of how gnuplot 
scripts can be mapped to Haskell programs.

More information about the Gnuplot mailing list