my $chart = Chart::Gnuplot->new( gnuplot => $gnuplotpath, terminal => "gif transparent", output => $filename, );