[feedgnuplot] 01/01: slighly fancier histogram recipe

Dima Kogan dima at secretsauce.net
Sat Jun 20 19:55:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

dkogan-guest pushed a commit to branch debian
in repository feedgnuplot.

commit 5609773b5b4a96c07a8ddb972f43b3eff41cc0a9
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sat Jun 20 12:55:35 2015 -0700

    slighly fancier histogram recipe
---
 bin/feedgnuplot | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/bin/feedgnuplot b/bin/feedgnuplot
index 08e177b..e6bda45 100755
--- a/bin/feedgnuplot
+++ b/bin/feedgnuplot
@@ -1757,10 +1757,12 @@ in a Thinkpad.
  $ while true; do cat /proc/acpi/ibm/thermal | awk '{$1=""; print}' ; sleep 1; done |
    feedgnuplot --stream --xlen 100 --lines --autolegend --ymax 100 --ymin 20 --ylabel 'Temperature (deg C)'
 
-=head2 Plotting a histogram of file sizes in a directory
+=head2 Plotting a histogram of file sizes in a directory, granular to 10MB
 
  $ ls -l | awk '{print $5/1e6}' |
-   feedgnuplot --histogram 0 --with boxes --ymin 0 --xlabel 'File size (MB)' --ylabel Frequency
+   feedgnuplot --histogram 0 --with boxes
+     --binwidth 10 --set 'style fill solid'
+     --ymin 0 --xlabel 'File size (MB)' --ylabel Frequency
 
 =head1 ACKNOWLEDGEMENT
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/feedgnuplot.git



More information about the debian-science-commits mailing list