[haskell-gnuplot] histogram

Henning Thielemann lemming at henning-thielemann.de
Thu May 26 23:51:24 BST 2011


On Thu, 26 May 2011, Michael Litchard wrote:

> 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?

right

Are the labels just in a separate column of the data file? This should be 
doable by a column of type String, but I have not used it so far, like:

histogram :: (Atom.C x) => Graph2DType.T Int Int (x,String)



More information about the Gnuplot mailing list