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


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

Re: Filter timeformat by month

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Filter timeformat by month
Date 2017-08-22 19:25 +0200
Organization solani.org
Message-ID <onhpf3$f5h$1@solani.org> (permalink)
References <15f57c17-f08d-48d3-824a-854ecd0ef05e@googlegroups.com>

Show all headers | View raw


Am 22.08.2017 um 17:08 schrieb Raoul Abrutat:
> [gnuplot 5.1 patchlevel 0    last modified 2017-02-24, win 32 XP sp3]
> 
> How can one “filter” data - by month - given the timeformat in column (1) of the annual time series?:

Just specify "/" as additional datafile separator and renumber the columns:


set multiplot layout 4, 3
set datafile separator "/,"
set xr [5:25]    # better give the range specs separately,
set yr [0:360]   # cleaner syntax
do for [n = 1 : 12] {
  plot datafile using 4 : ($2==n ? $5 : NaN)
}
unset multiplot


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


Thread

Filter timeformat by month Raoul Abrutat <raoul.abrutat@bigpond.com> - 2017-08-22 08:08 -0700
  Re: Filter timeformat by month Karl Ratzsch <mail.kfr@gmx.net> - 2017-08-22 19:25 +0200
    Re: Filter timeformat by month Raoul Abrutat <raoul.abrutat@bigpond.com> - 2017-08-23 08:02 -0700

csiph-web