Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Cheap'n'cheerful Graph Drawer

by mawe (Hermit)
on Jan 28, 2005 at 15:55 UTC ( [id://426009]=note: print w/replies, xml ) Need Help??


in reply to Cheap'n'cheerful Graph Drawer

Hi!

Nice, but $y stays uninitialized. I guess it should be $y = eval "$func";

EDIT: I should read the description before I post a comment ;-)

Regards, mawe

Replies are listed 'Best First'.
Re^2: Cheap'n'cheerful Graph Drawer
by moot (Chaplain) on Jan 28, 2005 at 17:45 UTC
    Enter your function in the form
    y = mx+c
    not just
    mx+c
    $y gets initialised in the eval.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-20 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found