Timefmt

This command applies to timeseries where data are composed of dates/times. It has no meaning unless the command set {x,y,z}data time is given also. The string argument tells gnuplot how to read timedata from the datafile. Valid conversion codes are: %d (day of month,1–31), %m (month,1–12), %y (year,0–99), %Y (year, 4 digits), %j (day of year,1–365), %H (hour,0–24), %M (minute,0–60), %S (second,0–60). Any character is allowed in the string (including space), but must match exactly. Backslash-octals ( \nnn) are converted to char; \t (tab) is understood. If there is no separating character between the date/time elements, then %d, %m, %y, %H, %M and %S read two digits each, %Y reads four digits and %j reads three digits. Each column in the timedata counts as one column in the using n:n specification.

Syntax:

        set timefmt "<format string>"
        show timefmt

See also set {x,y,z}data.

Example:

        set timefmt "%d/%m/%Y\t%H:%M"
tells gnuplot to read date and time separated by tab.