Skip to content

Instantly share code, notes, and snippets.

@dvydra
Created March 17, 2011 02:44
Show Gist options
  • Save dvydra/873757 to your computer and use it in GitHub Desktop.
Save dvydra/873757 to your computer and use it in GitHub Desktop.
GnuPlot a time series
gnuplot> set xdata time
gnuplot> set timefmt "%Y-%m-%d_%H:%M:%S"
gnuplot> plot "/Users/dvydra/Desktop/time_series2.txt" using 1:2
$ head Desktop/time_series2.txt
2011-03-01_00:18:36,490 687731
2011-03-01_00:18:36,651 711241
2011-03-01_01:18:36,553 687731
2011-03-01_01:18:36,921 711241
2011-03-01_02:18:36,432 687731
2011-03-01_02:18:36,798 711241
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment