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


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

Re: Trouble setting xrange when x is a time

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 <qmlvsa$at8$1@solani.org>
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 <a92ba117-f516-4b7e-93e5-8054c032bc3f@googlegroups.com> <qmlvsa$at8$1@solani.org>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <d704f9cc-b4d6-41e1-b2fb-06d5ec97e34c@googlegroups.com> (permalink)
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

Show key headers only | View raw


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

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


Thread

Trouble setting xrange when x is a time stuart.kendrick.sea@gmail.com - 2019-09-27 06:23 -0700
  Re: Trouble setting xrange when x is a time Karl Ratzsch <mail.kfr@gmx.net> - 2019-09-27 23:44 +0200
    Re: Trouble setting xrange when x is a time Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2019-09-28 15:23 +0200
    Re: Trouble setting xrange when x is a time stuart.kendrick.sea@gmail.com - 2019-09-30 04:19 -0700

csiph-web