Skip to content

Instantly share code, notes, and snippets.

@lindenb
lindenb / sort_uniq_gnuplot.bash
Created July 13, 2017 16:04
sort/uniq into gnuplot histogram
sort | uniq -c | sort -n | gnuplot -p -e "set key off; set ylabel 'Count'; set yrange [0:]; set title 'Sort-uniq'; set style data histogram;set terminal png truecolor; set term png; plot '-' using 1:xtic(2) "