Time Series timedata Format Specifiers Format Explanation %d day of the month, 1-31 %m month of the year, 1-12 %y year, 0-99 %Y year, 4-digit %j day of the year, 1-365 %H hour, 0-24 %M minute, 0-60 %s seconds since the Unix epoch (1970-01-01 00:00 UTC) %S second, 0-60 %b three-character abbreviation of the name of the month %B name of the month set xdata time set timefmt "%b %d %H:%M:%S %Y" set xtics format "%H:%M" set xrange ["13:00:00":"16:00:00"] set timefmt "%m/%d/%y" set xrange ["12/15/13":"01/04/14"] using gnuplot for Mono Pressure graphs cd gmeigs/beamline tail -11000 /data/log/pressure.log | awk '{if(NR%6==0) print $2,$3,$4, $6,$8}' > & ! bakeout.log # After the above operation, the data look like this: # Jul 8 15:37:20 2011 7.681e-09 gnuplot set grid set ytics set xtics set xdata time set timefmt "%b %d %H:%M:%S %Y" set xlabel "time of day" set ylabel "Mono Pressure" set yrange [0:1e-5] plot "bakeout.log" using 1:5 # graph log(Y) set logscale y set yrange [.000001:.0001] plot "bakeout.log" using 1:5 # graph log(Y) set autoscale x set xdata data set logscale x plot "bakeout.log" using 5 set xrange [1350:1680] # return to Plotting X time set xdata time set nologscale x plot "bakeout.log" using 1:5 set yrange [1e-8:1e-6] set autoscale x set xdata data set logscale x set nologscale x