From: Frank S. <der...@gm...> - 2012-06-09 08:11:32
|
Am Donnerstag, den 07.06.2012, 17:38 -0700 schrieb Tait: > In interactive mode, it works for me, as you described. I don't have a C# > compiler, but from gnuplot's point of view, there should be no difference > between what you're doing in C# to write to gnuplot's STDIN and: > echo bind Close 'exit gnuplot'; splot x+y; pause -1 | gnuplot.exe Exactly, but there is! I have hoped, that someone of you perhaps has already worked with a C#-gnuplot-pipe, but it doesn’t seem so. > And that works just fine for me. For me, too. > Even adding a "set terminal windows" does not change the behavior > (with alt+F4 since the windows terminal doesn't accept q to close). Yes, neither for C# nor interactively. > I'm using a 64-bit OS (Windows 2003). I wouldn't expect that to matter, > as gnuplot is a 32-bit app regardless. I cannot duplicate what you're > seeing. Please try it. Just install the mono compiler und run my example. You can find it here: <http://download.mono-project.com/archive/2.10.8/windows-installer/1/mono-2.10.8-gtksharp-2.12.11-win32-1.exe> Compile the source file with (depending on your installation): C:\Programs\Mono-2.10.8\bin\mcs.bat Program.cs Unfortunately you have Windows 2003 instead of XP … let’s be optimistic. |