|
From: Kiraneet s. <kir...@gm...> - 2010-05-05 01:53:01
|
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
But if I write it as
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.
Thanking you in advance.
Regards,
Kiraneet
|