gnuplot({"title" => "foo"}, [{"type" => "file"}, "cdb.7600.log"], [{"type" => "file"}, "cdb.8299.log"]); #### use Chart::Graph qw(gnuplot); gnuplot(\%global_options, @data_sets); gnuplot(\%global_options, [\%data_set_options, \@matrix], [\%data_set_options, \@x_column, \@y_column], [\%data_set_options, < filename >], ... ); #### while($logfile = shift) { push @data_sets, ({"type" => "file"}, $logfile); } gnuplot({"title" => "foo"}, \@data_sets);