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


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

timefmt without zero

From Manuel Winterholm <mwnhlm36@trash-mail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject timefmt without zero
Date 2013-04-20 07:01 +0200
Organization none
Message-ID <878v4dokwd.fsf@kerstf.org> (permalink)

Show all headers | 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