GBHISTO(1)
π GBHISTO π
okay bestie, welcome to gbhisto β that's section 1 of the manual (User Commands, the cute little corner where the actual runnable programs live π
). Buckle up, this one's a whole vibe.
β¨ NAME β¨
gbhisto β Produce histogram from data π
πΈ SYNOPSIS πΈ
gbhisto [options]
that's it. that's the whole summoning ritual. no arguments, just vibes and options π«Ά
π¦ DESCRIPTION π¦
So what does it actually do? It computes a histogram, which is just counting how often stuff shows up. Two flavours, bestie:
- Discrete data β it counts the occurrences of each value, one by one.
- Continuous data β it bins the values onto a regular grid.
And where does the data come from? Standard input, always. It does not go hunting for files, it waits for you to pipe things in. Iconic behaviour, honestly.
Then it prints:
- for discrete data: the values and their occurrences;
- for binned data: the bin reference point and the relative statistics.
You get to pick the type of variable and which statistics you want with the -M option, and the binning grid itself can be linear, logarithmic, or geometric β pick your fighter.
About that reference point, because this part is lowkey important:
- for linear binning, the reference point is the algebraic midpoint;
- for log or geometric binning, it's the geometric midpoint.
And you can move it with the -S option. Set it to 0 to get the lower bound, or to 1 for the upper bound. Slay.
π OPTIONS π
-nβ number of equispaced bins where the histogram is computed (default10) π§Ί-wβmin,maxβ set the binning window manually, with your own two hands β-Mβ set the type of output (default0). Here's the menu, and yes you only pick one:0β occurrences number (continuous binned variable)1β relative frequency (continuous binned variable)2β empirical density (continuous binned variable)3β occurrences number (discrete variable)4β relative frequency (discrete variable)5β CDF (left cumulated probability; continuous binned variable)6β inverse CDF (1-CDF; continuous binned variable)
-Bβ set the type of binning (default0):0β linear1β logarithmic2β geometric
-Sβ set the bin reference point (default0.5) π-rβ set the ratio for geometrical binning (default1.618) β yes, the golden ratio, she's booked and busy β¨-tβ print the histogram for each input column ποΈ-Fβ specify the input fields separators (default" \t") βοΈ-vβ verbose mode π£οΈ
π AUTHOR π
Written by Giulio Bottazzi. a real one, fr fr.
π REPORTING BUGS π
Found a bug? Don't suffer in silence, bestie. Report bugs to <gbutils@googlegroups.com>.
Package home page: <http://cafim.sssup.it/~giulio/software/gbutils/index.html> β go peek, it's giving official π«Ά
π COPYRIGHT π
Copyright Β© 2001-2018 Giulio Bottazzi
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2) as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. (translation: it's free, it's generous, it is not promising you anything π)
and that's the whole page, no cap. this is gbhisto version 6.2, dated June 2021, and honestly? she ate. go make some histograms, bestie πβπ
π¦ where this page comes from
- debian bookworm: gbutils 6.3-1 Β· GPL-2.0-or-later
- debian trixie: gbutils 6.3-1+b1 Β· GPL-2.0-or-later
- ubuntu noble: gbutils 6.3-1 Β· GPL-2.0-or-later
- ubuntu questing: gbutils 6.3-1build1
- ubuntu resolute: gbutils 6.3-1build2 Β· GPL-2.0-or-later
- ubuntu stonking: gbutils 6.3-1build2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms