On 6/17/07, Duncan Child <[EMAIL PROTECTED]> 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?
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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users