in reply to Cheap'n'cheerful Graph Drawer

There are a couple of "ready-made graph equation visualizers" already made for Tk.

Check out the widget demo, and look for "7. Plot a series of continuous functions on a Perl/Tk Canvas.". You can easily make it a stand-alone application.

Or go to tkgnuplot and get a nice one.

That will really impress your kid. :-)


I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: Cheap'n'cheerful Graph Drawer
by radiantmatrix (Parson) on Feb 01, 2005 at 02:30 UTC

    The pointer to tkgnuplot is useful -- I've just been using plain ol' gnuplot for such things. I guess I can't see how the OP is improving on the gnuplot interface, but the tkgnuplot version is pretty nice.

    radiantmatrix
    require General::Disclaimer;
    s//2fde04abe76c036c9074586c1/; while(m/(.)/g){print substr(' ,JPacehklnorstu',hex($1),1)}