Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Date Based Histogram--almost right Followup-To: comp.graphics.apps.gnuplot Date: Tue, 30 Aug 2011 08:41:07 -0700 Organization: gnuplot development team Lines: 10 Message-ID: References: <1758c69c-660d-45b4-8818-ce6b5c67b9f2@i21g2000yqd.googlegroups.com> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Tue, 30 Aug 2011 15:44:00 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="WEZLCPHRH3QJlZRyUKB04A"; logging-data="28086"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18msBe4+7BGcy3KRYc4g/1D" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:hLli60LZ4NDK0rKhPh2bwOM6a98= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:558 rblove@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]