Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3701

Run gnoplot from code::Blocks in Windows10

X-Received by 10.99.122.79 with SMTP id j15mr5245375pgn.55.1501233635592; Fri, 28 Jul 2017 02:20:35 -0700 (PDT)
X-Received by 10.36.84.208 with SMTP id t199mr275564ita.5.1501233635553; Fri, 28 Jul 2017 02:20:35 -0700 (PDT)
Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!t6no360604itb.0!news-out.google.com!12ni1176itl.0!nntp.google.com!t6no359948itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Fri, 28 Jul 2017 02:20:35 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=95.248.188.111; posting-account=0sMkdwoAAAByboRA0RdzSWBsZXLqXSdG
NNTP-Posting-Host 95.248.188.111
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <e7b1987b-e6e4-4b7d-848a-7d9ce1de79d4@googlegroups.com> (permalink)
Subject Run gnoplot from code::Blocks in Windows10
From ugo.m.mela@gmail.com
Injection-Date Fri, 28 Jul 2017 09:20:35 +0000
Content-Type text/plain; charset="UTF-8"
Lines 16
Xref csiph.com comp.graphics.apps.gnuplot:3701

Show key headers only | View raw


Hi,

I have to plot a 3D function, which is the result of a c++ program, with gnuplot. In the same time I have to evaluate the evolution over time of the function, so I have to plot the output that the c++ program give me, each second on the same graph.

I think that I could use the ShellExecute() and I wrote this code:

ShellExecute(NULL, "open", "C:\\Programmi\\gnuplot\\bin\\gnuplot.exe", "plot sin(x) pause-1", NULL, SW_SHOW);

The problems are related to the facts that:

1- The execution of the program is too fast and I don't see anything.
2- I don't know how pass an array of float numbers to gnuplot with the previous function.
3- I can't replace the plot over the previous one in order to evaluate the evolution over time.

How can I solve?

Thanks!

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

Run gnoplot from code::Blocks in Windows10 ugo.m.mela@gmail.com - 2017-07-28 02:20 -0700
  Re: Run gnoplot from code::Blocks in Windows10 Gavin Buxton <gavinbuxton@gmail.com> - 2017-07-28 09:56 -0700
    Re: Run gnoplot from code::Blocks in Windows10 John Edwards <johned0@gmail.com> - 2017-07-29 23:16 +0100
  Re: Run gnoplot from code::Blocks in Windows10 Gavin Buxton <gavinbuxton@gmail.com> - 2017-07-29 06:58 -0700

csiph-web