#!/usr/local/bin/gnuplot -persist # set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'timedat.3.png' set format x "%tH:%tM:%tS" timedate set format x2 "%D\n%R" timedate unset parametric set yzeroaxis set xtics norangelimit autofreq font ",8" unset ytics set ztics norangelimit autofreq font ",8" set x2tics border in scale 1,0.5 nomirror norotate autojustify set x2tics norangelimit autofreq font ",8" set cbtics norangelimit autofreq font ",8" set rtics norangelimit autofreq font ",8" set title "Date format (top) vs Time format (bottom)" set title font ":Bold,14" textcolor lt -1 norotate set xrange [ -7000.00 : 3000.00 ] noreverse nowriteback set x2range [ -7000.00 : 3000.00 ] noreverse nowriteback set yrange [ * : * ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set link x2 set bmargin at screen 0.3 set tmargin at screen 0.6 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 x notitle