Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3502

Plotting last n rows

Newsgroups comp.graphics.apps.gnuplot
Date 2016-12-29 12:48 -0800
Message-ID <e899f633-f5a3-4786-bac5-a21f6b5f5900@googlegroups.com> (permalink)
Subject Plotting last n rows
From Giovanni Di Maria <giovanni.dimaria@gmail.com>

Show all headers | View raw


Hi.
I have a datafile woth these data, with thousand rows:

2016.12.10 12:58:24 , 1349.70674487
2016.12.10 12:58:34 , 1349.58455523
2016.12.10 12:58:44 , 1349.56011730
2016.12.10 12:58:54 , 1350.14662757
2016.12.10 12:59:04 , 1350.07331378
2016.12.10 12:59:14 , 1350.07331378
2016.12.10 12:59:24 , 1349.68230694
2016.12.10 12:59:34 , 1349.70674487
2016.12.10 12:59:44 , 1349.82893451
2016.12.10 12:59:54 , 1349.85337243
2016.12.10 13:00:05 , 1349.48680352
..........
..........

I want to plot "only" last 8000 rows, with the following command:

plot "data.txt" every ::::8000 using 1:2 with lines

But in the graph I see both "the first 8000" (at left) and "the last 8000" (at right).
How can I solve ?

PS. The X-axis is in the time/data format.
Thank you
Giovanni

Happy new year 2017.

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

Plotting last n rows Giovanni Di Maria <giovanni.dimaria@gmail.com> - 2016-12-29 12:48 -0800
  Re: Plotting last n rows Ethan A Merritt <EAMerritt@gmail.com> - 2016-12-29 22:15 -0800
    Re: Plotting last n rows Giovanni Di Maria <giovanni.dimaria@gmail.com> - 2016-12-29 23:23 -0800

csiph-web