In my case, seting date-time format of mouse x-coordinate do with commands: set mouse mouse format 3; set x data time; set format x "%y-%m-%d %h:%M:%S", while command "set timefmt ..." set format for reading source file