Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4248
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2019-10-30 07:38 -0700 |
| Message-ID | <661235d5-152e-4168-b657-87432e7eade1@googlegroups.com> (permalink) |
| Subject | Plot data using every |
| From | s1291 <samirmath01@gmail.com> |
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