Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Newbie using modules

by Corion (Patriarch)
on Oct 05, 2008 at 19:52 UTC ( [id://715456]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Newbie using modules
in thread Newbie using modules

It seems that the synopsis of the module is incomplete. From reading the documentation further down, there is a ->output($filename) method which writes the chart as an image file to disk. So maybe you have to add another line after the ->plot2d:

... $chart->output('mychart.png');

Replies are listed 'Best First'.
Re^4: Newbie using modules
by moritz (Cardinal) on Oct 05, 2008 at 20:03 UTC
    I tried version 0.05, and the new(output => $out_file) works just fine, and produces the desired output file.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://715456]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found