Re: interfacing with gnuplot without pipes

From: Phlip (phlip_cpp_at_yahoo.com)
Date: 02/08/04


Date: Sun, 08 Feb 2004 22:55:14 GMT

Alexander Stippler wrote:

> I want to visualize numerical results with gnuplot. The easiest way would
be
> to
> use a pipe to gnuplot. But I want to be platform independent, just relying
> on
> the C++-standard. What is the recommended way of getting this
functionality?

The C++ Standard does not mention GNUplot. This is obviously just an
oversight - expect ISO to fix it soon.

But until then, rely on this recent post: "I found gnuplot is really nice.
There are some c/c++ interfaces, through which gunplot command could be sent
from c/c++ program. --phony"

Since advising phony to use GNUplot, I also advised him to switch to Python
and use BLT (under PythonMegaWidgets). These systems are (almost) as
portable as C++, but they don't have C++'s issues with exposed plumbing. And
BLT provides interactive hooks so you can supply drill-down, pans, zooms,
etc.

Again: Why are you using C++?

--
  Phlip
    http://www.xpsd.org/cgi-bin/wiki?TestFirstUserInterfaces


Relevant Pages

  • gnuplot stdout & python question
    ... Anyone had any success getting stdout from gnuplot on an ms windows system ... I'm trying to read mouse coordinates using python. ...
    (comp.lang.python)
  • Re: Forth gnuplot library screenshots
    ... The source code for all screenshots is given in both Python and Forth. ... Postscript and PNG files with the Forth gnuplot ...
    (comp.lang.forth)
  • Forth gnuplot library screenshots
    ... The source code for all screenshots is given in both Python and Forth. ... Postscript and PNG files with the Forth gnuplot ...
    (comp.lang.forth)
  • Re: Obtaining values from external scripts
    ... variable, and call the python script, something like: ... like to call with fname as an argument, which is why I'd like to ... gnuplot doesn't have string-valued variables in the current ... re-organize your workflow by controlling gnuplot from Python, ...
    (comp.graphics.apps.gnuplot)
  • Re: redefining Gnuplot environment for python interface
    ... The gnuplot interface to python worked with ... the recent gnuplot 4.0 version. ... >> and I have gnuplot 4.0 directory in my home area. ... > Appending won't help much. ...
    (comp.graphics.apps.gnuplot)