aboutsummaryrefslogtreecommitdiff
path: root/scripts/histogram
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/histogram')
-rwxr-xr-xscripts/histogram15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/histogram b/scripts/histogram
new file mode 100755
index 00000000..329b775e
--- /dev/null
+++ b/scripts/histogram
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+./frequency.pl 103.hist > hist.dat
+
+gnuplot << EOF
+set term postscript enhanced font "Helvetica,20"
+set output "histo.ps"
+
+plot [-2000:60000] "hist.dat" u 1:2 w l t "103 reflection"
+EOF
+
+ps2pdf histo.ps
+rm -f histo.ps hist.dat
+
+evince histo.pdf