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


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

Re: Date Based Histogram--almost right

From "rblove@gmail.com" <rblove@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Date Based Histogram--almost right
Date 2011-08-30 10:46 -0700
Organization http://groups.google.com
Message-ID <2fe4f446-5976-4358-a3f3-bf3891abd62d@c8g2000prn.googlegroups.com> (permalink)
References <1758c69c-660d-45b4-8818-ce6b5c67b9f2@i21g2000yqd.googlegroups.com> <j3j0fv$rdm$1@dont-email.me>

Show all headers | View raw


On Aug 30, 10:41 am, sfeam <sf...@users.sourceforge.net> wrote:
> rbl...@gmail.com wrote:
> > My one remaining issue is I have too many xtics in the date format.
> > The x-axis is almost unreadable
>
> > How can I set to every other or every 3rd date? My command file looks
> > like this:
> > reformat(date) = date[6:7]."/".date[9:10]
> > plot 'events.data' using 2:xtic(reformat(stringcolumn(1))
>
>   reformat(date) = (column(0)%3 != 0) ? "" : date[6:7]."/".date[9:10]

Hm, that doesn't seem to work.  I get
"datebars.gp", line 14: can only mod ints

where my line 14 is the plot command where reformat is called.

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


Thread

Date Based Histogram--almost right "rblove@gmail.com" <rblove@gmail.com> - 2011-08-30 08:22 -0700
  Re: Date Based Histogram--almost right sfeam <sfeam@users.sourceforge.net> - 2011-08-30 08:41 -0700
    Re: Date Based Histogram--almost right "rblove@gmail.com" <rblove@gmail.com> - 2011-08-30 10:46 -0700
      Re: Date Based Histogram--almost right "rblove@gmail.com" <rblove@gmail.com> - 2011-08-30 12:35 -0700

csiph-web