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


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

Re: Filter timeformat by month

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Filter timeformat by month
Date Tue, 22 Aug 2017 19:25:55 +0200
Organization solani.org
Lines 19
Message-ID <onhpf3$f5h$1@solani.org> (permalink)
References <15f57c17-f08d-48d3-824a-854ecd0ef05e@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace solani.org 1503422755 15537 eJwFwYEBACAEBMCVpH8yTsj+I3THbcvKYTRwOAummR5Xcwrib1r6lIjbBDzA4GBfvkOV6A8ZpxCy (22 Aug 2017 17:25:55 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Tue, 22 Aug 2017 17:25:55 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
In-Reply-To <15f57c17-f08d-48d3-824a-854ecd0ef05e@googlegroups.com>
X-User-ID eJwNysERwDAIA8GWSCwJXA4mpv8Swtxv57j0qByiwJ6KUfRd2TSHvT10Pgbi3gTPXlGmhM+r5A8fKREW
X-NNTP-Posting-Host eJwNxMkBwCAMA7CVmsOGjJMasv8IrR5C0KiVBBODycIfp23yeh2By21HlZnk0br99lO8fqA9HxS7ETs=
Content-Language en-GB
Cancel-Lock sha1:DQ5oPtEf9S0165k3hriDQtDdbVY=
Xref csiph.com comp.graphics.apps.gnuplot:3726

Show key headers only | 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