Last active
August 29, 2015 14:04
-
-
Save joyeecheung/ed9dc0b21c063884894b to your computer and use it in GitHub Desktop.
plotting result of Jigsaw
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
set terminal png size 1378,768 | |
set output 'result.png' | |
set xrange [-2000:30000] | |
set boxwidth 200 absolute | |
set style fill solid 1.0 noborder | |
bin_width = 1000; | |
bin_number(x) = floor(x/bin_width) | |
rounded(x) = bin_width * ( bin_number(x) + 0.5 ) | |
plot 'result.txt' using (rounded($1)):(1.0/20) smooth frequency with boxes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment