X-Received: by 2002:a37:a411:: with SMTP id n17mr18579752qke.216.1569842369841; Mon, 30 Sep 2019 04:19:29 -0700 (PDT) X-Received: by 2002:aca:4a50:: with SMTP id x77mr17776907oia.115.1569842369541; Mon, 30 Sep 2019 04:19:29 -0700 (PDT) Path: csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!o24no3052576qtl.0!news-out.google.com!q23ni167qtl.1!nntp.google.com!o24no3052567qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Mon, 30 Sep 2019 04:19:29 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=75.172.128.173; posting-account=M_ToRAoAAABsShCRDrTEbhx9p9iCZt7G NNTP-Posting-Host: 75.172.128.173 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Trouble setting xrange when x is a time From: stuart.kendrick.sea@gmail.com Injection-Date: Mon, 30 Sep 2019 11:19:29 +0000 Content-Type: text/plain; charset="UTF-8" Lines: 14 Xref: csiph.com comp.graphics.apps.gnuplot:4232 I have fixed this My error was to place the 'set xrange' ahead of 'set timefmt' Fails: set xrange [ '2019-09-26 00:00' : '2019-09-27 06:00' ] set xdata time set timefmt "%Y-%m-%d\t%H:%M" Succeeds: set xdata time set timefmt "%Y-%m-%d\t%H:%M" set xrange [ '2019-09-26 00:00' : '2019-09-27 06:00' ] --sk