|
From: kiraneet <kir...@gm...> - 2010-05-03 17:44:45
|
Dear all,
I am using Gnuplot 4.4 in Cygwin under Windows XP.
For this I have downloaded the windows binaries.
Now I wish to plot a chart when a button is pressed in my Java GUI.
For this I cant write the command:
If I write it as
Runtime.getRuntime().exec("\"C:/tinyos/cygwin/opt/tinyos-1.x/tools/java/net/tinyos/sim/gnuplot/binary/wgnuplot.exe\"");
It simply opens up the wgnuplot.exe wherein I have to explicity give
commands to plot a chart.
But what I want is that through Java directly the chart should be plotted
and visible.For this I write a simple command to test:
Runtime.getRuntime().exec("\"C:/tinyos/cygwin/opt/tinyos-1.x/tools/java/net/tinyos/sim/gnuplot/binary/wgnuplot
plot sin(x)\"");
It is wrong and the program gives an exception.
please help me and tell me what is the exact command to run gnuplot
under cygwin in Windows XP.
Thanking you in advance
--
View this message in context: http://old.nabble.com/Gnuplot-4.4-through-java-using-Cygwin-problem-tp28438035p28438035.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|