I have installed gnuplot (just run sudo apt-get install gnuplot on my Ubuntu). So I guess an image called expression.png should appear in the Desktop after running "perl myscript.pl". But it doesn't. I guess that's not a bug of the module since is a very trivial example. Anyone can help me getting the image? or at least I'm curious to see gnuplot plotting something. Thanks Monks!use Chart::Gnuplot; my $chart = Chart::Gnuplot->new( output => "/home/diffredential/Desktop/expression.png" ); my $dataSet = Chart::Gnuplot::DataSet->new( func => "sin(x)" ); $chart->plot2d($dataSet);
In reply to Newbie using modules by diffredential
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |