#!/usr/bin/perl use warnings; use Chart::Gnuplot; my $chart = Chart::Gnuplot->new( gnuplot => 'c:\gnuplot\binaries\wgnuplot.exe', output => 'testfile1.gif', terminal => "gif transparent", ); my @xy = ( [1, 10], [2, 100], [3, 1000], [4, 10000], ); my $dataSet = Chart::Gnuplot::DataSet->new( points => \@xy, style => "linespoints", "logscale x" => "0", "logscale y" => "1", ); $chart->plot2d($dataSet);