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


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

Re: date/time format

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

Show all headers | View raw


On Apr 14, 11:48 am, Hans-Bernhard Bröker <HBBroe...@t-online.de>
wrote:
> On 14.04.2012 17:00, TonyG wrote:
>
> > On Apr 13, 6:27 pm, Hans-Bernhard Bröker<HBBroe...@t-online.de>
> > wrote:
> >>          set timefmt "%m-%d %H:%M:%S"
> > set timefmt "%M-%D %H:%M:%S"
>
> Does that look exactly like the format I showed you?  What do you think
> the difference will do?
>
> > 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!
>
> You usually don't want to use '($1)' for time data. Stick to the simpler
> '1' instead.

Aaaah... my bad.  I do appreciate your help!

Now, the final problem I cannot solve: what's wrong with my string
equality (I'm not a programmer...)?

gnuplot> plot 'output.csv' using 1:(($7==1) && ($4 eq "GROUP_1")?
$3:1/0)w p lt rgb 'blue'
         internal error : STRING operator applied to non-STRING type

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious 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