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

Newsgroups comp.graphics.apps.gnuplot
Date 2019-09-30 04:19 -0700
References <a92ba117-f516-4b7e-93e5-8054c032bc3f@googlegroups.com> <qmlvsa$at8$1@solani.org>
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

Show all headers | 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