@data=([@array1],[@array2],[@array3]); my $gd = $graph->plot(\@data) or die $graph->error; #### for ($x=1; $x<10; $x++) { @anotherarray=(1,2,3,4,5); push @data, [ @anotherarray ]; } my $gd = $graph->plot(\@data) or die $graph->error; #### foreach $file (@files) { undef @timestamp; undef @kbits; open FILE, "$file"; @points=; foreach $point (@points) { @split=split /:/, $point; push @timestamp, $split[0]; push @kbits, $split[1]; #### NOW IDEALLY, I WANT TO ADD @kbits TO THE DATA SET ### something like this: push (@data, [ @kbits ] ); #forget the timestamp for now- that just complicates matters! } ## BUT I CAN'T, SO I JUST CURRENTLY TAKE THE LAST SET OF DATA # this gives no error @data=([@timestamp],[@kbits]); I'm using fatalstobrowser so the exact error is: No data sets or points at /home/web/http/volgraph.pl line 250. }