Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #277
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!weretis.net!feeder4.news.weretis.net!proxad.net!feeder1-2.proxad.net!74.125.46.80.MISMATCH!postnews.google.com!j13g2000pro.googlegroups.com!not-for-mail |
|---|---|
| From | Awhan Patnaik <awimagic@gmail.com> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | plotting data without data files |
| Date | Sat, 23 Apr 2011 20:51:50 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 24 |
| Message-ID | <5ebf12cd-940d-40c2-b2f6-4d9db457d889@j13g2000pro.googlegroups.com> (permalink) |
| NNTP-Posting-Host | 202.3.77.204 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | posting.google.com 1303617111 25446 127.0.0.1 (24 Apr 2011 03:51:51 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Sun, 24 Apr 2011 03:51:51 +0000 (UTC) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | j13g2000pro.googlegroups.com; posting-host=202.3.77.204; posting-account=-3qPjwoAAAAWq82jMTlGnPtkkPaDEAee |
| User-Agent | G2/1.0 |
| X-HTTP-UserAgent | Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20110321 Firefox/4.0,gzip(gfe) |
| Xref | x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:277 |
Show key headers only | View raw
hello all,
my data keeps changing as i iterate over many. till now i used to
generate a data file to dump the data pertaining to each iteration or
to dump all the data in to a single file separated by two blank lines
and then use the ``index" feature of gnuplot.
i want to be able to plot my data after each iteration without having
to generate data files. assuming a c/c++ code i want something of the
following:
int i;
double x[10];
double y[10];
for(i = 0; i < 10; ++i)
{
generate_x_values(x);
calculate_y_values(y, x);
plot(x, y, "format string");
pause();
}
any advice or recommedation is welcome.
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
plotting data without data files Awhan Patnaik <awimagic@gmail.com> - 2011-04-23 20:51 -0700 Re: plotting data without data files Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-04-24 12:35 +0200
csiph-web