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


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

timefmt without zero

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
From Manuel Winterholm <mwnhlm36@trash-mail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject timefmt without zero
Date Sat, 20 Apr 2013 07:01:38 +0200
Organization none
Lines 16
Message-ID <878v4dokwd.fsf@kerstf.org> (permalink)
Mime-Version 1.0
Content-Type text/plain
X-Trace news.albasani.net RBLMKfpmE1+1Df0VtMC6SBdeUDWO+SdgSgqoEPDdMZsne6gErukOUDLgOf6kyhNjkJ9SpC7eRdwHFl/0N2jeSZu8tXeMTC8JJanRUNCbvo9Ahiv5P8B7IYyKtqZZNsCH
NNTP-Posting-Date Sat, 20 Apr 2013 05:01:40 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="WCdmFLnpJXMq+VhhTA+01vfi9gX8bc23uAGsUUaq3GipZC/QwzCx1S31YZqOSr7Kbr6wZbMryV8zx9yPstV/dDf9Bt8s/oVJm9fmwD2K1h3bBXR5QCJDKO/UAlm3T5NV"; mail-complaints-to="abuse@albasani.net"
Cancel-Lock sha1:5MKpI46BW1sQDCpEpWdHTc/wEyo= sha1:ZK69+20JXgblavfB907FrjnMJho=
Xref csiph.com comp.graphics.apps.gnuplot:1766

Show key headers only | View raw


Hi,

I'd like to print something like this as xdata:

$ date -d "2013-01-02" +%-d.%-m.
2.1.

But trying to set the format to this string fails (also according to the
docs):

set format x "%-d.%-m."

Is it possible to suppress the leading zeros (I use version 4.6.2 on Linux)?

-- 
Regards, Manuel

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


Thread

timefmt without zero Manuel Winterholm <mwnhlm36@trash-mail.com> - 2013-04-20 07:01 +0200

csiph-web