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


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

Re: timefmt, changing the day of the week

From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: timefmt, changing the day of the week
Date 2014-05-02 18:22 +0200
Message-ID <bshv0vFnpnnU1@mid.dfncis.de> (permalink)
References <alpine.WNT.2.10.1405021459010.828@BecaneCoulon>

Show all headers | View raw


On 02.05.2014 15:10, Jean-Pierre Coulon wrote:

> I am plotting an array with x in universal time. I know that 1-Jan-2004
> was TU=1072569615. and I am plotting using ($1-1072569615.)

On what basis did you decide that 2004-01-01 had any relevance to this 
task?  If x is indeed UTC, you could just

	set xdata time
	set timefmt x "%s"

in current versions of gnuplot.

>I said: set
> format x "%a-%d-%b\n%H:%M:%Y". I obtain the right month and day-of-the
> month on the X axis scale, but day-of-the-week is false .

So what about the year?

> I guess
> Gnuplot guesses that 1-Jan-2004 was a Monday or a Sunday.

On what basis?

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


Thread

timefmt, changing the day of the week Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2014-05-02 15:10 +0200
  Re: timefmt, changing the day of the week Ethan A Merritt <EAMerritt@gmail.com> - 2014-05-02 09:15 -0700
    Re: timefmt, changing the day of the week Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2014-05-02 19:34 +0200
      Re: timefmt, changing the day of the week Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-05-02 22:16 +0200
        Re: timefmt, changing the day of the week Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2014-05-03 08:16 +0200
          Re: timefmt, changing the day of the week Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-05-03 14:48 +0200
            Re: timefmt, changing the day of the week Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2014-05-05 08:37 +0200
              Re: timefmt, changing the day of the week Karl <mail.kfr@gmx.net> - 2014-05-05 13:16 +0200
                Re: timefmt, changing the day of the week Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2014-05-05 14:09 +0200
              Re: timefmt, changing the day of the week Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-05-05 18:49 +0200
                Re: timefmt, changing the day of the week Jean-Pierre Coulon <coulon@cacas.pam.obs-nice.fr> - 2014-05-06 07:39 +0200
  Re: timefmt, changing the day of the week Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-05-02 18:22 +0200

csiph-web