jython and matplotlib

We would like to provide a Matplotlib-like plotting function in a Java
application we are building. We can't require our users to install
native code so we can't use Matplotlib.

We have a simple implementation that would be sufficient for v1.0 of
our application that uses jython and jfreechart.

To re-implement the whole of Matplotlib would require a collaborative
effort and would take a while. You have to start somewhere though so I
thought I should post here to ask for advice.

Does anyone have any comments or suggestions?

Thanks,

Duncan

I would think Java would have some pretty sophisticated plotting
libraries and if you are committed to Java I would try and find/extend
a native Java library. Porting mpl is probably not an option -- we
use a fair amount of C++ with python bindings to do rendering and
since you can't install client side code this approach probably won't
work. One could use the SVG output combined with a Java SVG
renderer....

Alternatively, if you have a client/server mode, you could generate
your figures with matplotlib server side and send them to the client.

JDH

ยทยทยท

On 6/17/07, Duncan Child <duncan.child@...287...> wrote:

We would like to provide a Matplotlib-like plotting function in a Java
application we are building. We can't require our users to install
native code so we can't use Matplotlib.

We have a simple implementation that would be sufficient for v1.0 of
our application that uses jython and jfreechart.

To re-implement the whole of Matplotlib would require a collaborative
effort and would take a while. You have to start somewhere though so I
thought I should post here to ask for advice.

Does anyone have any comments or suggestions?