I am part of a team trying to create interactive GUI scientific
visualisations and would like some advice regarding the best way to proceed.
We are trying to output mathematical functions (Fourier transforms, ray
tracing etc.) in graphical form and have been very impressed with the ease
Matplotlib can do this. However, all attempts to control or modify input to
Matplotlib from a GUI (Tkinter, Wx, Jython, PyGTK etc.) have proved
fruitless due to seeming incompatibility between these modules, particularly
when one distributes any finished product to another platform.
I am an experienced Java programmer who needs the portability and free
technologies provided by Java (or Python) to distribute our applications and
would like to know of the best way to mesh Matplotlib to a GUI creating
system. We have experimented with the GUI creation possibilities of
Matplotlib itself but these are inadequate for our needs.
Does anyone know of (or has examples of) Matplotlib applications controlled
by a GUI or must I return to my Java roots where I can easily solve all GUI
problems but do not have access to a powerful maths library such as
Matplotlib.
On Dec 7, 2007 10:38 AM, adamski246 <a@...1812...> wrote:
Does anyone know of (or has examples of) Matplotlib applications controlled
by a GUI or must I return to my Java roots where I can easily solve all GUI
problems but do not have access to a powerful maths library such as
Matplotlib.
I am part of a team trying to create interactive GUI scientific
visualisations and would like some advice regarding the best way to proceed.
We are trying to output mathematical functions (Fourier transforms, ray
tracing etc.) in graphical form and have been very impressed with the ease
Matplotlib can do this. However, all attempts to control or modify input to
Matplotlib from a GUI (Tkinter, Wx, Jython, PyGTK etc.) have proved
fruitless due to seeming incompatibility between these modules, particularly
when one distributes any finished product to another platform.
I am an experienced Java programmer who needs the portability and free
technologies provided by Java (or Python) to distribute our applications and
would like to know of the best way to mesh Matplotlib to a GUI creating
system. We have experimented with the GUI creation possibilities of
Matplotlib itself but these are inadequate for our needs.
Does anyone know of (or has examples of) Matplotlib applications controlled
by a GUI or must I return to my Java roots where I can easily solve all GUI
problems but do not have access to a powerful maths library such as
Matplotlib.
good choice -- the other is to follow the "embedded_in_***" examples -- where are they? A quick googling didn't find them!
all attempts to control or modify input to
Matplotlib from a GUI (Tkinter, Wx, Jython, PyGTK etc.) have proved
fruitless due to seeming incompatibility between these modules,
I'm guessing that you're using the pylab interface -- pylab manages the GUI for you -- which is great if you're doing simple interactive plotting, but will not work if you are embedding MPL in a gui -- you need to use the OO interface instead -- see the embedded_in_*** examples.
particularly
when one distributes any finished product to another platform.
This is no harder than with JAVA -- easier I think -- you can completely control the environment if you want -- see py2exe, pyInstaller, py2app, etc.
>> I return to my Java roots where I can easily solve all GUI
problems
Once you get the hang of Python, I think you'll find that you can solve your GUI problems even more easily! I'm partial to wxPython, but pyQT and pyGTK have their strengths also.
As a JAVA coder, I recommend you read:
-Chris
···
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception