summaryrefslogtreecommitdiff
path: root/gnuplot/histogram.plot
diff options
context:
space:
mode:
Diffstat (limited to 'gnuplot/histogram.plot')
-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
+