summaryrefslogtreecommitdiff
path: root/gnuplot
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-14 16:46:27 +0200
committerPatrick Simianer <p@simianer.de>2014-06-14 16:46:27 +0200
commit26c490f404731d053a6205719b6246502c07b449 (patch)
tree3aa721098f1251dfbf2249ecd2736434c13b1d48 /gnuplot
init
Diffstat (limited to 'gnuplot')
-rw-r--r--gnuplot/histogram.plot5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnuplot/histogram.plot b/gnuplot/histogram.plot
new file mode 100644
index 0000000..b560046
--- /dev/null
+++ b/gnuplot/histogram.plot
@@ -0,0 +1,5 @@
+binwidth=5
+bin(x,width)=width*floor(x/width)
+
+plot 'datafile' using (bin($1,binwidth)):(1.0) smooth freq with boxes
+