|
From: Hans-Bernhard B. <HBB...@t-...> - 2008-10-14 18:18:55
|
Armin Armbruster wrote: > I'm using the following x-axis formatting: > > set xrange ["00:00:00":"60:00:00"] You forgot to show your timefmt setting, but it's highly doubtful this will do anywhere near what you think it does. Try "show xrange" afterwards to see what you get, then read "help timefmt" again to see why. > set xtics "0:00","6:00" This makes even less sense. You can't really have the xtics starting point in a different time/date format than the xrange endpoints. And it rather rarely makes sense to give the <increment> of a tic setting as a data string, since it's not an absolute time, but a difference. Just give the number of seconds instead. > My problem is that after 24 hours I get "00:00" instead of "24:00" in other > words, the x-labelling wraps around every 24 hours rather than incrementing > linearly. How do you think gnuplot is supposed to guess a new day started if your data (and the timefmt setting) don't contain information about days? > Question: Is there a way to force the xlabels to increment beyond 24 hours. No. > Note: I don't want to use a different format that displays days as well, I > want to keep it in the "hh:mm" formatting. The output format is independent. |