Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1289
| From | Georg <g.hasselberg@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Plotting datapoints of different blocks in one graph |
| Date | 2012-07-21 06:02 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <9e962f24-25c6-495b-9e8d-efecc102e9ac@googlegroups.com> (permalink) |
| References | <086e9ced-697a-4c2b-9339-5405a3776eef@googlegroups.com> |
On Saturday, July 21, 2012 2:28:40 PM UTC+2, Georg wrote: > Hi everybody, > > I have a dataset, consitsting of multiple blocks. I used that to get different plots for each block. Now I need only the nth line of each block and I need gnuplot to plot this as one graph. > > Illustration: > # Datablock 1 > 1 2.3 > 2 2.4 <-- 1st datapoint I need > 3 2.5 > > # Datablock 2 > 1 3.3 > 2 3.4 <-- 2nd datapoint I need > 3 3.5 > > #... > . > . <-- ... > . > > > I can plot these points separately, making use of "every ::2::2" (and leaving out "index" at all), but gnuplot doesn't combine them to a dataset (for example: "with linespoints" gives me still single dots). That would be crucial, because I need a fit through these points. > > Any ideas would be greatly appreciated! > Thanks, > Georg One workaround would be deleting the newlines between blocks. Although it makes plotting the data by blocks a little more inconvenient (via "every") it makes the above possible.
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
Plotting datapoints of different blocks in one graph Georg <g.hasselberg@gmail.com> - 2012-07-21 05:28 -0700 Re: Plotting datapoints of different blocks in one graph Georg <g.hasselberg@gmail.com> - 2012-07-21 06:02 -0700 Re: Plotting datapoints of different blocks in one graph Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-07-21 22:45 +0200
csiph-web