|
From: Ico <gn...@ze...> - 2015-10-21 12:58:28
|
Hi Marek, * On 2015-10-21 14:43:02 +0200, Marek W. Gutowski wrote: > Your commands before plotting should be: > > set xdata time > set timefmt x "%S" > set format x "%S" > 1. note "S" (uppercase, not lowercase) Tried %S as well, but this breaks down as soon as the time in seconds exceeds 100: http://i.imgur.com/aUVNb2a.png So I must still be doing something wrong? > 2. note information about time format both for data AND for plot Actually I want the X axis to show time in [HH]:MM:SS format, which is the reason to choose 'xdata time' at first. So: - input time is seconds starting at 0 - output is time in 'human friendly' notation [HH]:MM:SS ------------------------- set xdata time set timefmt "%S" set format x "%S" plot "-" using 1:2 with lp 1 0.5 2 1 3 1.5 4 2 97 48.5 98 49 99 49.5 100 50 101 50.5 EOT ------------------------- -- :wq ^X^Cy^K^X^C^C^C^C |