I\'m not sure if this is possible, especially since Java runs through a VM, but can I call gnuplot from within Java? Perhaps I could have Java open a terminal and input
Use the JavaGnuplotHybrid library.
It is very light weight (only 3 core classes) and enables hybrid programming with Java and Gnuplot.
For more details: