OpenDx-Dev: The outer problem: I need to read a tab-delimited file full of XYZ data into the ImportSpreadsheet filter, and output its beautiful quicky scatter plot into a Python Tkinter window. Need Tkinter because the user must rotate this plot around to inspect it, and then close it when they get tired.
Here's how I went about it: * Open 'dx -prompter', dial up a sample TXT file, and import this in Spreadsheet format. It looks beautiful. * Save the current NET to a file name - Kozmik.net * Take the py-opendx example program 11-supervise_net.py, and replace the exDXLLoadScript argument "11-supervise_net.net" with Kozmik.net. The inner problem: When I run that rig, the Tkinter window appears over here. But because Kozmik.net got generated from 'dx' displaying a window, 'dx' displays a new window, over there, with the data in it. I want the data inside the Tkinter window! This failure means I can't route UI commands into the data display from the Tkinter one. Bummer. Could I fix the inner problem if I could 'dx -edit' or manually edit Kozmik.net to remove the calls that create a window? The NET file format is ... special, to say the least. Could I fix the inner problem by generating a fresh Kozmik.net using different options from 'dx -prompter'? Could I fix the outer problem by simply specifying a NET file by hand that uses the ImportSpreadsheet filter? I still need the beautiful frame and scales around the data. Platform is Linux. Thanks for any advice. -- Phlip ================= http://c2.com/cgi/wiki?PhlIp ================== -- Please state the nature of the programming emergency --
