|
From: Tatsuro M. <tma...@ya...> - 2010-05-05 08:00:57
|
Hello I do not know java langauge at all so that I cannot follow what you said in the thread. But please note that 'wgnuplot.exe' is a native windows application but not cygwin. It is possible to use windows native application from the cygwin. However, there might be ristrictions. I do not know how hard it is. If you are using the cygwin, why do not you to use the cygwin version gnuplot? http://sourceforge.net/projects/gnuplot/files/ gp440win32x11.zip is the cygwin version of gnuplot 4.4. Perhaps the cygwin combination of cygwin applications will make things simpler, I suppose. Good luck! Regards Tatsuro --- Kiraneet sharma wrote: > 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 > ------------------------------------------------------------------------------ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -------------------------------------- GyaO! - Anime, Dramas, Movies, and Music videos [FREE] http://pr.mail.yahoo.co.jp/gyao/ |