From: Chris B. <bu...@hv...> - 2003-01-21 15:25:52
|
Hi all. Just thought I'd mention that the kind of graphing Arnd is looking for is available through BLT, a widget set for Tcl/Tk. Luckily, BLT is available through the Python Mega Widgets (Pmw). It's a bit of a pain to setup (need to install BLT, then Pmw) and since BLT is a Tcl/Tk add-on, it uses it's own vectors (not Numeric arrays). However, the interface is rather nice: you make a vector and tell BLT to graph it. Then, when you change the vector, BLT automagically updates the graph widget (line, markers, scaling, etc). It's by no means as slick as Visual (e.g., you need to use Tkinter to dress up the widget), but works well for some purposes. See: Python Mega-Widgets: http://pmw.sourceforge.net/ BLT in Python (lots of examples): http://heim.ifi.uio.no/~hpl/Pmw.Blt/doc/ The official BLT: http://incrtcl.sourceforge.net/blt/ I used it to build an interactive ODE integrator (for watching choatic systems evolve while they are being integrated). If you're interested, have a look: http://pathfinder.scar.utoronto.ca/~csca57/RKFgraph.html Chris -- Chris Burns Visiting Assistant Professor Dept. of physics and astronomy, Swarthmore College cb...@sw... http://astro.swarthmore.edu/~burns |