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


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

Re: date/time format

From TonyG <tgozdz@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: date/time format
Date 2012-04-14 08:00 -0700
Organization http://groups.google.com
Message-ID <8520bd9f-82d7-4563-ac88-ff892c55860e@l4g2000vbt.googlegroups.com> (permalink)
References <a78aeedd-dcca-4df1-b480-f772d1fca208@fw28g2000vbb.googlegroups.com> <9urnhnFqk0U1@mid.dfncis.de>

Show all headers | View raw


On Apr 13, 6:27 pm, Hans-Bernhard Bröker <HBBroe...@t-online.de>
wrote:
> On 13.04.2012 15:00, TonyG wrote:
>
> > I set the date/time format of the first field as
>
> > set format x "%1m-%2d %01H:%02M:%06.3S"
>
> Close, but no cigar.  That's an _output_ format, but you wanted to
> describe how to _input_ your data.  You need
>
>         set timefmt "%m-%d %H:%M:%S"
>
> instead (note that input formats don't take field widths or precisions).

H-B, I'm still in trouble... I set the parameters based on the Date/
Time Help file example, but am not getting anywhere. I suspected that
the problem may be due to a mixed use of space and commas, thus I
specified

set datafile separator ","
set xdata time
set timefmt "%M-%D %H:%M:%S"
set format x "%3.3S"

but when I try to plot the data:

04-12 16:10:58.649,04-12
16:10:58.695,0.045376,GROUP_1,GROUP_1,1,1,GROUP_1,SUCCESS,0

I'm still getting a time formatting error for each of the tens of
thousands of lines or

gnuplot> plot 'output.csv' using ($1):($3)
                                          ^
         all points y value undefined!

Desperation slowly sets in...

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


Thread

date/time format TonyG <tgozdz@gmail.com> - 2012-04-13 06:00 -0700
  Re: date/time format Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-04-14 00:27 +0200
    Re: date/time format TonyG <tgozdz@gmail.com> - 2012-04-14 08:00 -0700
      Re: date/time format Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-04-14 17:48 +0200
        Re: date/time format TonyG <tgozdz@gmail.com> - 2012-04-14 12:51 -0700

csiph-web