I will remove the output from the PoissonSolverTest but introduce a PoissonSolverCalculations class in the UI package. This class will need plot outputs. I can either reuse the few lines of code that I have already written or use a gnuplot wrapper, in particular JavaPlot.http://www.gnuplot.info/links.htmlhttp://gnujavaplot.sourceforge.net/JavaPlot/About.html
My code writes a file to the harddisk and then executes gnuplot with some parameters. I think that I can pass any command to gnuplot in this way, so there are no limitations there. But its hard to read and does not look nice. Also gnuplot must be in the execution path....and the output path must be entered somehow.
JavaPlot enables one to use java commands. I think that a file output is also not needed for plot creation. Maybe it is also possible to save the output (image) inside openpixi and then display it in the gui.
But usind JavaPlot would introduce an other dependency that is not in the maven repository. It also relies on svgSalamander.jar...Furthermore it has not been updates since 2010.
What do you think, should I use JavaPlot or nor?