RE: output graph to file

2002-03-26 Thread John Edwards
sage- From: Conan Chai [mailto:[EMAIL PROTECTED]] Sent: 26 March 2002 12:07 To: [EMAIL PROTECTED] Subject: output graph to file Hi, i want to ouput a graph image that i generated to a file but not quite sure how to do it, below is what i have done.pls advise Conan .. .. .. use GD::Gr

output graph to file

2002-03-26 Thread Conan Chai
Hi, i want to ouput a graph image that i generated to a file but not quite sure how to do it, below is what i have done.pls advise Conan . . . use GD::Graph::bars; my $graph = new GD::Graph::bars(800, 600); my $gd_image = $graph->plot( \@data ); # @data contains x & y values for t