#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "timedat_2" jsdir "." # set output 'timedat.2.js' 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)) ## 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"