in reply to GIFgraph

use GD::Graph::lines; $graph = GD::Graph::lines->new(600, 400);

Replies are listed 'Best First'.
Re: Re: GIFgraph
by v (Initiate) on Dec 15, 2000 at 23:10 UTC
    sorry, i forgot to mention that i'm using perl5.04.

    GD::Graph isn't happy unless on 5.04, and i'm stuck w/ this version of perl.

      From the documentation for GIFgraph 1.20:
      GIFgraph is nothing more than a wrapper around GD::Graph.
      Unfortunately, I don't see anything else more applicable on the CPAN.
        Says chromatic:
        > I don't see anything else more applicable on the CPAN.
        One strategy that has worked well for me in the past is to have Perl open a pipe to gnuplot. gnuplot is very flexible.

        Further, the GIFgraph source is fairly straightforward, and study of it reveals a few tricks that aren't well documented. If it doesn't do what you like, treat it as a starting place.
      duh...GD::Graph isn't happy on 5.04, not the other way around.
Re: Re: GIFgraph
by v (Initiate) on Dec 19, 2000 at 00:02 UTC
    ok, i figured it out. simple syntax error, but i wish that the Perl Module Reference book wouldn't throw me off with incorrect syntax.

    $mygraph = new GIFgraph::bars(800, 450);

    i should have tried this after IO's response.