http://www.perlmonks.org?node_id=197211


in reply to Drawing Graphs

I'm not to sure which graphs will best suit our needs in the future but what we are aiming for is extremly accurate line type graphs at the moment. But if your suggested tool can handle more than that, well so much better.

Also if you could say why you're suggesting the tool you are that would really be helpful.

j o h n i r l .

Sum day soon I'Il lern how 2 spelI (nad tYpe)

Replies are listed 'Best First'.
Re: Re: Drawing Graphs
by tradez (Pilgrim) on Sep 12, 2002 at 15:44 UTC
    I say stick with GD::Graph. I do statistical reporting with lines, bars, and pie and the simple fill an xAxis array with datapoints equal to the number of n yAxis array datapoints then simply calling a "plot" method is simpley the easiest way. Especially if you are grabbing this data from the arrays that fetcharray in DBI so graciously creates for you. Good luck.

    Tradez
    "Never underestimate the predicability of stupidity"
    - Bullet Tooth Tony, Snatch (2001)
Re: Re: Drawing Graphs
by seeker (Curate) on Sep 13, 2002 at 12:25 UTC
    You might also look at some of the line drawing abilities of Perl/Tk. I was able to draw graphs and was able
    to print them out on a PostScript printer. It will require that you calculate the x/y corordinates in your program.
    I don't know if this is what you want.