

// // Feel free to contact me when: // - YOU can get the program to run under Windows (and normally it wouldn't) // - you en counter a compile error // - you have made additional functionality // - you have outsmarted me on this interface. If you have an idea to solve this, please E-mail me. Under Windows, the pipe to the // Gnuplot executable (either MS-DOS or Windows executable) will not open.
GNUPLOT LT HOW TO
Somebody has an idea how to open Gnuplot.exe ? // V1.0: 10th June 2005: first version developed on Macintosh // // // This class functions well at a Macintosh. Program is found NOT to run under Windows. V2.0: 12th September 2005: Got program to compile under Windows environment. According to Christoph it should work under Windows now.
GNUPLOT LT CODE
// Richel Bilderbeek // Website: // // V4.0: 19th March 2008: Conformized code // V3.0: 23th September 2006: Implemented suggestion by Christoph Schmalz. // Gnuplot - a C ++ class interface with Gnuplot // V4.0 // // Created by Richel Bilderbeek on Fri Jun 10 2005. / Classes/ CppCanvas/canvas.h OTHER_FILES += \ / Classes/ CppCanvas/canvas.cpp HEADERS += \ CppGnuplotInterface/CppGnuplotInterface.pri Duplicate symbol Gnuplot::SetLineStyles().Download the 'Gnuplot Interface' source code (zip).Thanks to Roger Wehage for submitting this image and allowing me to use it. View a screenshot of a graph created with Gnuplot interface.If this function is unknown under your programming environment, try either std::popen, std::_popen, std::_popen, popen, _popen or _popen. This is a non-standard function to open a pipe.

The one function that this class is built around is the popen function. I only got this interface to work under MacOS It creates a text-file in which the location of the Gnuplot executable canīe entered (without recompiling the program). It handlesīoth the connection to Gnuplot and performs the window management as well. That enables the user to easily plot values in Gnuplot.
