[feedgnuplot] 12/18: slighly fancier histogram recipe
Dima Kogan
dima at secretsauce.net
Fri Nov 13 19:17:27 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 c19dc4aa2a58bae8dc82262c76bbea40d1062da6
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 c2d0ba8..a731978 100755
--- a/bin/feedgnuplot
+++ b/bin/feedgnuplot
@@ -1822,10 +1822,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