Last active
April 13, 2016 08:18
-
-
Save reimai/99a9f49471f93976ae5d to your computer and use it in GitHub Desktop.
count smth from logs (not the most effective way, but good enough for the task in hand) and plot it on time axis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ for m in {32..33}; do for s in {00..59}; do echo "$m$s " `grep -c "$m$s" ~/input`; done; done > ~/out | |
$ gnuplot -p -e "set xdata time; set timefmt '%M%S'; set format x '%M:%S'; plot '~/out' using 1:2 with points" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment