in reply to Re^4: Chart::Gnuplot and Windows XP
in thread Chart::Gnuplot and Windows XP
(notice the single quotes and the backslashes...)use strict; use warnings; use Chart::Gnuplot; my $chart = Chart::Gnuplot->new( output => 'c:\tmp\test.png', title => 'Simple testing', xlabel => 'My x-axis label', ylabel => 'My y-axis label', gnuplot => 'C:\gnuplot\binaries\wgnuplot.exe', ); my $dataSet = Chart::Gnuplot::DataSet->new( func => 'sin(x)' ); $chart->plot2d($dataSet); print "Done...\n";
What is the result?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Chart::Gnuplot and Windows XP
by dHarry (Abbot) on Nov 05, 2008 at 15:15 UTC |