#!/usr/local/bin/gnuplot -persist # set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "timedat_2" butt dashlength 1.0 # set output 'timedat.2.svg' set ydata time set format y "% h" timedate set timefmt "%s" unset key set offsets 0.5, 1.5, 0.2, 0.2 set xtics norangelimit set xtics () set ytics norangelimit set ytics () set title "Time data on Y, millisecond precision" set title font ",14" textcolor lt -1 norotate set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ * : * ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault fulltime(col) = strftime("%d %b %Y\n%H:%M:%.3S",column(col)) parttime(col) = strftime("%H:%M:%.3S",column(col)) NO_ANIMATION = 1 ## Last datafile plotted: "-" plot '-' using 0:1:(fulltime(1)):xticlabels(2):yticlabels(parttime(1)) with labels point pt 7 left offset 1,1 font ",7"