|
From: Tino W. <ti...@wi...> - 2006-07-17 10:56:28
|
Kim Leng Goh wrote: > Hi all, > I've been using the open source PlotWS software. > > http://www.soton.ac.uk/~ghydflex/plotws/ : > > "PlotWS provides a graph generation WebService. It is implemented as a > wrapper around gnuplot and exposes a subset of gnuplot's > functionality. The Web Service layer is implemented using Apache AXIS." > > > Below, I like to share some steps I took to get the PlotWS software > working on my Red Hat 9.0 system. Hopefully, they could be of help to others. > > 1) Modify GraphSoapBindingImpl.java and change > exe.run(exeGnuPlot + " \"" + cmdsFile + "\"", _tempDir, null); > to > exe.run(exeGnuPlot + " " + cmdsFile, _tempDir, null); why dont you use a popen() (pipe) call to feed your commands w/o the need for a tempfile into gnuplot? It would also allow to read stderr/stdout from gnuplot. Regards Tino |