Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^5: Chart::Gnuplot and Windows XP

by massa (Hermit)
on Nov 05, 2008 at 13:43 UTC ( #721650=note: print w/replies, xml ) Need Help??

in reply to Re^4: Chart::Gnuplot and Windows XP
in thread Chart::Gnuplot and Windows XP

try this:
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";
(notice the single quotes and the backslashes...)

What is the result?

[]s, HTH, Massa (κς,πμ,πλ)

Replies are listed 'Best First'.
Re^6: Chart::Gnuplot and Windows XP
by dHarry (Abbot) on Nov 05, 2008 at 15:15 UTC

    Result: util.c: Invalid argument

    If I comment the gnuplot line and use the bat file approach the message is: C:\workspace\Testbed>"C:\gnuplot\binaries\wgnuplot.exe" \tmp\yZ35R2dy8v/plot

    I think I am developing an understanding why it's not working, see my response to BrowserUK.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://721650]
[stonecolddevin]: i went too far down the irc rabbithole to hook this back up there
[Discipulus]: .. yes erix until NodeReaper put jhon coltrane again
[erix]: nice cover with the spitting image of George (and a great solo by Prince at the end )
[Discipulus]: good night monks! i feel fresh as the turkey in the hoven but i need to sleep
[planetscape]: gobble, gobble, Discipulus!
[erix]: Discipulus: buonanotte! :)
[stonecolddevin]: man we need a new guitar legend
[stonecolddevin]: Clapton has issues playing nowadays
[stonecolddevin]: Prince is gone
[stonecolddevin]: Van Halen is still around but I haven't heard any of their new stuff

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-06-22 21:16 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (531 votes). Check out past polls.