|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-01-07 00:35:12
|
On 06.01.2011 23:41, da...@la... wrote:
> On Thu, 6 Jan 2011, Hans-Bernhard Br?ker wrote:
>> gnuplot> set xdata time
>> gnuplot> set ydata time
>> gnuplot> set timefmt x '%Y-%m-%d'
>> gnuplot> set timefmt y '%H:%M'
>> gnuplot> p '-' u 1:2 w lp
>> input data ('e' ends)> 2010-12-02 7:53
>> input data ('e' ends)> 2010-12-03 7:55
>> input data ('e' ends)> 2010-12-06 7:59
>> input data ('e' ends)> 2010-12-07 8:00
>> input data ('e' ends)> e
>> gnuplot>
>
> as of what release?
Pretty much since forever. The documentation just never picked up on
the axis argument to 'set timefmt'. You get a hint that something might
be afoot if you inspect the timefmt:
gnuplot> set xdata time
gnuplot> show timefmt
read format for time on x axis is "%d/%m/%y,%H:%M"
read format for time on t axis is "%d/%m/%y,%H:%M"
read format for time on u axis is "%d/%m/%y,%H:%M"
gnuplot> set ydata time
gnuplot> show timefmt
read format for time on y axis is "%d/%m/%y,%H:%M"
read format for time on x axis is "%d/%m/%y,%H:%M"
read format for time on t axis is "%d/%m/%y,%H:%M"
read format for time on u axis is "%d/%m/%y,%H:%M"
read format for time on v axis is "%d/%m/%y,%H:%M"
There would be no point showing so many timefmt strings if not at least
some of them were independent...
|