Gnuplot using time as x-axis -


i trying use gnuplot csv file. there quite bit of similar posts haven't had success them. there should 4 lines marked integer values , times should make x axis.

data file: first column h:m:s, rest 0-100 values

00:26:45,34,12,3,7 00:27:14,31,10,5,9 00:27:43,27,7,2,4 00:28:18,32,11,4,6 00:28:45,36,17,6,7 00:29:35,39,16,1,3 00:30:48,24,12,5,4 00:31:33,32,9,2,8 00:32:15,27,12,3,7 00:32:45,34,15,6,4 

gnuplot commands:

set datafile separator "," set yrange [0:100] set xrange ["00:00:00":"24:00:00"] set xtics format '%h:%m:%s' set timefmt '%h:%m:%s' set xdata time plot 'test.csv' using 1:2 lines 

so far blank plot 5 second increments starting @ 00:00:00. appreciated.

i able plot show correctly removing xrange line. x-axis still doesnt display exact times first column, every hour. seems matter of more formatting.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -