Low feature GNUPlot controller for D2

Jay Norwood jayn at prismnet.com
Wed Mar 14 00:16:37 PDT 2012


On Sunday, 11 March 2012 at 21:45:02 UTC, SiegeLord wrote:
  > Anyway, the repository for it is here:
> https://github.com/SiegeLord/DGnuplot
> It requires TangoD2 to build and gnuplot 4.4.3 to run (unless 
> you're saving commands to a file as described above).
> It works on Linux, and maybe on Windows (untested).
>
> -SiegeLord


I just tried this on Win7 64 bit using the latest TangoD2 and the 
gnuplot from this link
http://sourceforge.net/projects/gnuplot/files/

I had to substitute pgnuplot.exe, which is one of the windows 
gnuplot exe versions that accepts the piped input
GNUPlot = new Process(true, "pgnuplot.exe -persist");

With that change one of the graphs displayed, the one with title 
"Raw gnuplot commands".  The rest all failed, maybe due to the 
binary record input, which they try to echo to their text command 
shell.

Maybe if there were an option to use text format input, or maybe 
there is some terminator expected.  Their command shell fails to 
return to the prompt after echoing the binary data, and doesn't 
create the graph shell on these others that use the binary record 
input.





More information about the Digitalmars-d-announce mailing list