|
From: Andrew R. <and...@us...> - 2004-11-09 12:52:40
|
On Tue, Nov 09, 2004 at 07:24:42AM +0100, Lehmann, Eckhard {TR-I~Penzberg} wrote:
> That doesn't make sense, probably. There are already good plotting API's
> available for Java - think of JfreeChart
> (http://www.jfree.org/jfreechart/) or Ptolemy Plot (don't remember the
> link yet). I think if you want to use PlPlot and only PlPlot, you should
> use the existing java bindings, test and maybe improve them for your
> needs - and if you want to use just some plot extension or require to
> use java2d/3d for plotting, use one of the existing java plot extensions
> (and test/improve them).
>
>
> Eckhard ;)
>
The philosophy of plplot has always been to develop a standard API of
plotting routines. Through the bindings we attempt to support as many
different languages as possible, all with a similar interface. There is
no way we could do this by reimplementing the same code in each
different language, we just don't have the resources and it would make
maintenance a nightmare. For some languages we do add some extensions to
the API to make use of the object orientated nature of the language or
of specific array handling syntax for example. The java implementation
does attempt to make the plplot API more object orientated.
Through the various drivers we provide support for different output
devices. Now there is probably no reason you couldn't implement a
java plplot widget (similar things have been done for Gnome under Linux)
if this was the kind of thing you were interested in.
If you have any ideas about this then feel free to suggest them or
provide code. Please remember though that we would like to keep some
uniformity between bindings and that ease of maintenance is important.
Cheers
Andrew
|