Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4248
| X-Received | by 2002:a37:b981:: with SMTP id j123mr173971qkf.205.1572446298437; Wed, 30 Oct 2019 07:38:18 -0700 (PDT) |
|---|---|
| X-Received | by 2002:a9d:5911:: with SMTP id t17mr196276oth.82.1572446298200; Wed, 30 Oct 2019 07:38:18 -0700 (PDT) |
| Path | csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!j16no3925740qtl.0!news-out.google.com!d16ni480qtp.0!nntp.google.com!j16no3925731qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.graphics.apps.gnuplot |
| Date | Wed, 30 Oct 2019 07:38:18 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=193.194.70.2; posting-account=HagNvQoAAAC7MSycpc32gp8SxSlBD4dx |
| NNTP-Posting-Host | 193.194.70.2 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <661235d5-152e-4168-b657-87432e7eade1@googlegroups.com> (permalink) |
| Subject | Plot data using every |
| From | s1291 <samirmath01@gmail.com> |
| Injection-Date | Wed, 30 Oct 2019 14:38:18 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Received-Bytes | 1603 |
| X-Received-Body-CRC | 3014219527 |
| Xref | csiph.com comp.graphics.apps.gnuplot:4248 |
Show key headers only | View raw
Hello, I have a single block of data points in a file: data.dat, For example let's consider the following example of data.dat file: 1 1.0 2 2.0 3 3.0 4 4.0 5 5.0 6 6.0 7 7.0 To plot only the points with odd x value: plot 'data.dat' u 1:2 every 2 w lp This will plot the points (1, 1.0), (3, 3.0), (5, 5.0), (7, 7.0). What if I want to plot the points with even x value using 'every' keyword? that is, the points (2, 2.0), (4, 4.0) (6, 6.0). Thanks
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Plot data using every s1291 <samirmath01@gmail.com> - 2019-10-30 07:38 -0700
Re: Plot data using every Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2019-10-30 20:19 +0100
Re: Plot data using every s1291 <samirmath01@gmail.com> - 2019-10-30 12:29 -0700
Re: Plot data using every Karl Ratzsch <mail.kfr@gmx.net> - 2019-10-31 08:38 +0100
csiph-web