my $chart = Chart::Gnuplot->new( output => 'test.png', # not "terminal => 'windows'" ...