Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #277
| From | Awhan Patnaik <awimagic@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | plotting data without data files |
| Date | 2011-04-23 20:51 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <5ebf12cd-940d-40c2-b2f6-4d9db457d889@j13g2000pro.googlegroups.com> (permalink) |
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