On Mon, Apr 11, 2011 at 12:11 PM, Christian Fries <frieschrist...@gmx.de> wrote:
> Dear Ladies and Gentlemen,
>
> I have installed Octave-3.2.4_i686-pc-mingw32_gcc-4.4.0_setup from 
> Octave-Forge on a Windows 7 Computer.
> When I plot e.g. "sombrero(20)" the gnuplot window opens and displays the 
> plot correctly.
> I can switch the gnuplot window between "windows" and "wxt" using the command 
> putenv("GNUTERM","wxt"/"windows").
>
> Instead of using these gnuplot windows I would like to use the wgnuplot 
> window for the plots, because it has the graphical user interface for gnuplot 
> due to the file wgnuplot.mnu.
> If I change the gnuplot binary with "gnuplot_binary("wgnuplot.exe") (or with 
> full path) the wgnuplot window opens but no plot is displayed.
>
> I tried several combinations (using other gnuplot binaries and pgnuplot) for 
> several days, but with no success.
> Searches on the internet and in the mailing lists weren't succesful.
>
> >From within Octave I get the error message:
> "error: compare_versions: version numbers must be a single row
> error: called from:
> error: C:/Octave/........../compare_versions.m at line 81, column 5..."
> similar errors from
> __gnuplot_has_feature__.m at line 43, column 23
> gnuplot_drawnow.m at line 229, column 11
> gnuplot_drawnow.m at line 97, column 16
>
> Does anybody have a suggestion how to correctly set up the "pipe" from Octave 
> to wgnuplot?

You can't. wgnuplot executable doesn't have any stdin/stdout, because it's not
compiled as a console application. Hence, you can't pipe anything to it.

Michael.

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to