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


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

Re: Plotting last n rows

From Ethan A Merritt <EAMerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Plotting last n rows
Date 2016-12-29 22:15 -0800
Organization A noiseless patient Spider
Message-ID <o44tun$abf$1@dont-email.me> (permalink)
References <e899f633-f5a3-4786-bac5-a21f6b5f5900@googlegroups.com>

Show all headers | View raw


Giovanni Di Maria wrote:

> 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 ?


  plot 'data.txt' skip 2000 using 1:2 with lines

> 
> PS. The X-axis is in the time/data format.
> Thank you
> Giovanni
> 
> Happy new year 2017.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next 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