Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1839
| X-Received | by 10.224.130.195 with SMTP id u3mr33295935qas.1.1368994038039; Sun, 19 May 2013 13:07:18 -0700 (PDT) |
|---|---|
| X-Received | by 10.49.30.105 with SMTP id r9mr1107664qeh.27.1368994037957; Sun, 19 May 2013 13:07:17 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!t11no428152qal.0!news-out.google.com!y6ni50289qax.0!nntp.google.com!t11no428151qal.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.graphics.apps.gnuplot |
| Date | Sun, 19 May 2013 13:07:17 -0700 (PDT) |
| In-Reply-To | <knb0fr$qcm$1@dont-email.me> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=87.66.156.205; posting-account=20WH8goAAAC20NmrS-GQnCakiC_VFip6 |
| NNTP-Posting-Host | 87.66.156.205 |
| References | <ae317923-11e7-4ddf-aee7-c53a327f5d9b@googlegroups.com> <knb0fr$qcm$1@dont-email.me> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <087febf0-043c-4ec9-ab62-700aa563ecfb@googlegroups.com> (permalink) |
| Subject | Re: Extracting data from datafiles |
| From | sander.peter@lycos.com |
| Injection-Date | Sun, 19 May 2013 20:07:17 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.graphics.apps.gnuplot:1839 |
Show key headers only | View raw
Op zondag 19 mei 2013 19:04:42 UTC+2 schreef sfeam het volgende: > sander.peter@lycos.com wrote: > > > > > Hi, > > > > > > I have many long datafiles like this: > > > > > > ... > > > _Flags = 5 > > > _StepTime = 0.2 > > > _StepSize = 0.024 > > > _2d = 8.7522 > > > _LineName = "Cu KA1-HS-Min" > > > _X-Counts > > > 15.000 493.2 > > > 15.024 485.2 > > > 15.048 514.3 > > > 15.072 453.2 > > > 15.096 443.2 > > > 15.120 470.2 > > > 15.144 432.2 > > > 15.168 448.2 > > > ... > > > > > > Now I'd like to use the value of StepTime and 2d (2.2 and 8.7522 in > > > this case) as a variable affecting the data in both columns, before > > > plotting. > > > > > > How to get these two numbers out of each datafile ? > > > > How about > > load "< head -5 datafile" > > That will execute the first five lines, so now you have those > > five variables defined. Thanks for your reply, but It doesn't work for me (gnuplot 4.6 with WinXP) ...
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Extracting data from datafiles sander.peter@lycos.com - 2013-05-19 08:32 -0700
Re: Extracting data from datafiles sfeam <sfeam@users.sourceforge.net> - 2013-05-19 10:04 -0700
Re: Extracting data from datafiles sander.peter@lycos.com - 2013-05-19 13:07 -0700
Re: Extracting data from datafiles Michael <proximum@land.ru> - 2013-05-20 22:44 +0700
csiph-web