narse has asked for the wisdom of the Perl Monks concerning the following question:
while the following code does not:#!/usr/local/perl-5.8.3/bin/perl use warnings; use strict; use GD::Graph::lines; my @data = ( [ qw/ 1 2 3 / ], [ qw/ -70 -70 -71 / ], ); my $graph = GD::Graph::lines -> new ( 200, 200 ); $graph -> set( x_label => 'x', y_label => 'y', title => 'title', ); $graph -> plot ( \@data );
The second code will run forever (over 5 minutes) and the only difference is the datapoints given. To give some variety, I tried creating an additional datapoint that was `undef' but the results were the same. Is this an issue with the module?#!/usr/local/perl-5.8.3/bin/perl use warnings; use strict; use GD::Graph::lines; my @data = ( [ qw/ 1 2 3 / ], [ qw/ -70 -70 -70 / ], ); my $graph = GD::Graph::lines -> new ( 200, 200 ); $graph -> set( x_label => 'x', y_label => 'y', title => 'title', ); $graph -> plot ( \@data );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: GD::Graph issue with similar datapoints
by ViceRaid (Chaplain) on Feb 04, 2004 at 16:20 UTC | |
by scottj (Monk) on Feb 05, 2004 at 05:08 UTC | |
by ViceRaid (Chaplain) on Feb 05, 2004 at 19:05 UTC | |
Re: GD::Graph issue with similar datapoints
by zentara (Cardinal) on Feb 04, 2004 at 16:38 UTC | |
by PodMaster (Abbot) on Feb 04, 2004 at 18:58 UTC | |
by revdiablo (Prior) on Feb 04, 2004 at 20:19 UTC |