03. [1.5p] Time-based data when plotting in gnuplot

timecolumn() function parses a time string from a column according to the set timefmt settings. The result is a time stamp in seconds.

set xdata time 
set timefmt "%H:%S"
set format x "%H"
set style fill solid 0.6 border -1
set boxwidth 0.3 relative
set xrange["00:00":"23:30"]
set style data boxes plot 'dataset.txt' using 1:2, \ '' using (timecolumn(1)+60*20):($2*0.5), \ '' using (timecolumn(1)+60*40):($2*0.7)
ep/labs/061/contents/tutorial/ex3.txt ยท Last modified: 2019/11/20 06:29 by ioan_adrian.cosma
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0