caling gnuplot from c++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nagendradh
    New Member
    • Apr 2010
    • 1

    caling gnuplot from c++

    Dear All.
    I am writing a program in C++ that writes the data in a file. I can plot it. But I want to call gnuplot from the program when it is running so that I can see the update of the data. How is this done in C++. May you help me please?
    ND
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    I presume you would format your file in a way that gnuplot and read then execute gnuplot using a system() call. When gnuplot completes, control is returned to your program.

    I've not actually done this but I'm guessing this is what you have to do.

    Comment

    Working...