#!/usr/local/bin/gnuplot -persist # set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "gantt_1" butt dashlength 1.0 # set output 'gantt.1.svg' set border 3 front lt black linewidth 1.000 dashtype solid set xdata time set format x "%b\n'%y" timedate set grid nopolar set grid xtics nomxtics ytics nomytics noztics nomztics nortics nomrtics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault lt 0 linecolor 0 linewidth 0.500, lt 0 linecolor 0 linewidth 0.500 unset key set style arrow 1 head back filled linecolor rgb "#56b4e9" linewidth 1.500 dashtype solid size screen 0.020,15.000,90.000 fixed set style data lines set mxtics 4.000000 set xtics border in scale 2,0.5 nomirror norotate autojustify set xtics norangelimit 2.6784e+06 set ytics border in scale 1,0.5 nomirror norotate autojustify set ytics norangelimit set ytics () set title "{/=15 Simple Gantt Chart}\n\n{/:Bold Task start and end times in columns 2 and 3}" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ -1.00000 : * ] 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 T(N) = timecolumn(N,timeformat) NO_ANIMATION = 1 timeformat = "%Y-%m-%d" OneMonth = 2678400.0 ## Last datafile plotted: "$DATA" plot $DATA using (T(2)) : ($0) : (T(3)-T(2)) : (0.0) : yticlabel(1) with vector as 1, $DATA using (T(2)) : ($0) : 1 with labels right offset -2