[haskell-gnuplot] histogram

Michael Litchard michael at schmong.org
Thu May 26 23:09:56 BST 2011

When I say label, I mean each bar should have a label below it
explaining what the bar represents. In my example, the label "foo"
would have a bar above it, "bar" woud have a bar above it, and "baz"
would have a bar above it. I looked at file2d and that seems to be
giving a general description label for the axis, and not a label for
each bar. Am I correct?

On Thu, May 26, 2011 at 2:48 PM, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
> 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