How to create graphs an embed them in GUI?

Yu-Xi Lim yuxi at gatech.edu
Thu Jan 17 11:30:37 EST 2008


Heiko Niedermeyer wrote:
> Sorry for the fuzzy subject...
> 
> Currently I'm writing a little programm to extract some chemical 
> information out of a text file, and then present it in a pleasant way.
> The Extraction works so far, so now the presentation will be next.
> 


If the GUI is only for the graph, try matplotlib. It should do the 
graphs/charts you require.

If necessary, you can combine matplotlib with another GUI toolkit for a 
full GUI. This might be useful if you want to display menus and dialogs 
to load the text files, etc.

3D is a different matter. I'd personally go with Python bindings for 
VTK, but be warned that the learning curve is very steep and the online 
docs are quite sparse (you're encouraged to buy the book, which is 
probably the main source of income for the VTK devs).



More information about the Python-list mailing list