diffredential has asked for the wisdom of the Perl Monks concerning the following question:
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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Newbie using modules
by moritz (Cardinal) on Oct 05, 2008 at 19:42 UTC | |
by diffredential (Beadle) on Oct 05, 2008 at 19:45 UTC | |
by Corion (Patriarch) on Oct 05, 2008 at 19:52 UTC | |
by moritz (Cardinal) on Oct 05, 2008 at 20:03 UTC | |
by moritz (Cardinal) on Oct 05, 2008 at 19:54 UTC | |
by Anonymous Monk on Oct 06, 2008 at 13:47 UTC | |
|
Re: Newbie using modules
by b10m (Vicar) on Oct 05, 2008 at 19:50 UTC | |
by diffredential (Beadle) on Oct 05, 2008 at 20:11 UTC | |
by moritz (Cardinal) on Oct 05, 2008 at 21:56 UTC | |
by Anonymous Monk on Oct 26, 2008 at 21:19 UTC | |
by diffredential (Beadle) on Oct 05, 2008 at 21:49 UTC |