This is an old revision of the document!


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 'data.dat' 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.1569556009.txt.gz ยท Last modified: 2019/09/27 06:46 by andreea.alistar
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