Skip to content

Instantly share code, notes, and snippets.

@etscrivner etscrivner/plot.gnu
Created May 6, 2019

Embed
What would you like to do?
set title 'Change Frequency By File'
set ylabel '# Changes'
set xlabel 'File'
plot 'output.txt' using 0:1
#!/bin/bash
echo "Changes File" > output.txt
git log --format=format: --name-only | egrep -v '^$' | sort | uniq -c | sort -nr | sed -e 's/^[ \t]*//' >> output.txt
gnuplot -e "load 'plot.gnu'" -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.