# set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 500, 350 # set output 'stringvar.7.png' set xdata time set key inside left top vertical Right noreverse enhanced autotitles nobox file(i) = sprintf("%1d.dat",i) read_time(fmt, c) = strptime(fmt, stringcolumn(c).' '.stringcolumn(c+1)) beg = 2 end = 4 foo = " 1 2 3 4 5 6" ERRNO = 0 haystack = "Sun Feb 12 19:55:42 PST 2012" needle = ":" S = 14 N = 2 M = 3 GPFUN_file = "file(i) = sprintf(\"%1d.dat\",i)" fmt = "%d/%m/%y\t%H%M" time_str = "2005-05-09 19:44:12" seconds = 168983052.0 time_str2 = "2005-05-09 19:44:22" GPFUN_read_time = "read_time(fmt, c) = strptime(fmt, stringcolumn(c).' '.stringcolumn(c+1))" plot 'timedat.dat' using (read_time(fmt,1)):3 with histeps, 'timedat.dat' using (read_time(fmt,1)):($3-0.01):2 with labels title ''