cormanaz has asked for the wisdom of the Perl Monks concerning the following question:

Good day bros. I have a set of 30 means and associated lower and upper confidence interval values produced by a stats package. I want to plot these (say, a bounded horizontal line with a marker for the mean) stacked on top of one another on a common X axis, so as to compare the means and intervals. I figure one ought to be able to do this with GD Plot. I have used that before but it's not obvious to me how to do this particular task. Can anyone point me in the right direction or to some example code? Searching GD plot confidence intervals doesn't turn up much.

Replies are listed 'Best First'.
Re: GD Plot Confidence Intervals
by BrowserUk (Patriarch) on Nov 16, 2016 at 02:24 UTC
    I figure one ought to be able to do this with GD Plot.

    I've never heard of GD::PLot? Perhaps you mean GD::Graph?

    Assuming you do, you might look at GD::Graph::boxplot which might be sufficient for your purpose.

    If not, the source code will serve as an example for writing your own.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Yes, sorry, brain fart there. GD::Graph. And thanks for the pointer. Looks like what I need.