Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #560
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsreader4.netcologne.de!news.netcologne.de!nx01.iad01.newshosting.com!newshosting.com!69.16.185.21.MISMATCH!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!b34g2000prf.googlegroups.com!not-for-mail |
|---|---|
| From | "rblove@gmail.com" <rblove@gmail.com> |
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Date Based Histogram--almost right |
| Date | Tue, 30 Aug 2011 12:35:24 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 24 |
| Message-ID | <4fdcd5af-3cb5-438f-8f48-c179d6622a8a@b34g2000prf.googlegroups.com> (permalink) |
| References | <1758c69c-660d-45b4-8818-ce6b5c67b9f2@i21g2000yqd.googlegroups.com> <j3j0fv$rdm$1@dont-email.me> <2fe4f446-5976-4358-a3f3-bf3891abd62d@c8g2000prn.googlegroups.com> |
| NNTP-Posting-Host | 128.157.160.13 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | posting.google.com 1314732924 25796 127.0.0.1 (30 Aug 2011 19:35:24 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Tue, 30 Aug 2011 19:35:24 +0000 (UTC) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | b34g2000prf.googlegroups.com; posting-host=128.157.160.13; posting-account=w4EOlAoAAAD3g0d-J-TgIaM00bUG38YJ |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| X-Google-Header-Order | HUALESRCNK |
| X-HTTP-UserAgent | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.20) Gecko/20110804 Red Hat/3.6-2.el4 Firefox/3.6.20,gzip(gfe) |
| Xref | x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:560 |
Show key headers only | View raw
On Aug 30, 12:46 pm, "rbl...@gmail.com" <rbl...@gmail.com> wrote: > 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. Ah, I put in an int() function and it works. Many thanks for this suggestion. /s/ Bob
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
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