|
From: Thomas S. <t.s...@fz...> - 2008-10-15 15:14:01
|
> I know that this is not a common date/time format.
> In Excel I can specify [h]:mm as my formatting, in
> which case the hours keep incrementing beyond 24.
> I was just wondering if gnuplot has a similar functionality.
gnuplot uses the 'strftime' function from some C library,
and there are no 'accumulated' hours.
the easiest way to get ticslabels from '00:00' to '60:00'
is to define the xticslabels explicitly:
set xtics ("00:00" 0, "06:00" 6*60*60, "12:00" 12*60*60, "18:00" 18*60*60,
"24:00" 24*60*60, "30:00" 30*60*60, "36:00" 36*60*60, "42:00" 42*60*60,
"48:00" 48*60*60, "54:00" 54*60*60, "60:00" 60*60*60)
an explanation: your data start at '00:00:00', that means at 00:00
of the first day of the epoch (since you don't give a date), and
that's second '0'.
in the 'set xtics' command you can give the ticslabel position as
a date string or as an integer representing the number of seconds.
--
View this message in context: http://www.nabble.com/Plotting-a-time-series-%28elapsed-time%29-with-time-values-%3E-24-hours-tp19975946p19995644.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|