Try adding this line
my $chart = Chart::Gnuplot->new( terminal => 'png', [download]
In reply to Re^5: 2d contour plot using Chart::Gnuplot by poj in thread 2d contour plot using Chart::Gnuplot by Ppeoc