Christopher Barker wrote: > João Luis Silva wrote: >> So do you know any free open source library for plotting, that can be >> embedded in a GUI (such as wxWidgets or GTK), and usable from C/C++? > > If you're not committed to a particular GUI, check out QT -- I think > there are some plotting tools for QT out there: >
I've heard good things about QT, and, while this program will be open source, I'm doing doing it to learn new technologies that can be applied to big scale commercial applications. I don't like the QT pricing for commercial applications, so it's not an option. > > VTK ios worth a look-see too -- it's big and complicated, but very powerful: > > http://www.vtk.org/ > I've used VTK once, from python. It's big and complicated, and the available documentation is scarce. In the end, it's not what I need. > >> Matplotlib may well be a killer application for me in the sense that it >> might be easier to just program the whole thing in Python. > > It's probably easier to program the whole thing in python anyway. It's > certainly easier to program wx in python, so what do you have left? your > computational code may be able to be written in numpy successfully, and > if not, write the core in C or C++, and access it from python with > ctypes, SWIG or pyrex, or... > I'm trying to explore new options, and learn new skills. My favorite programming languages are C/C++ and Python. I use Python for small scripts and applications, and C/C++ for everything else. I've started a smallish/medium size open source app in python+pygtk+matplotlib+numpy (laserfoam.sf.net) but I think a large application might be more maintainable in C++. Also, I think C++ is easier to "sell" to the powers that be. I'm still undecided. As you and John suggest, I may write the GUI in python+wxPython, and everything else in C++, but I was trying to drive the app from C++. The need for python only remains due to its superior plotting tools. Also, I'm trying to keep things simple, so that they just work, on both Linux and Windows. I guess I have to think this over a bit more. Any further comments or sugestions would be appreciated. Best Regards, João Silva ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users