MAPHIMBU(1)
π MAPHIMBU π β the histogram builder bestie
okay so real quick, this is the manual page for maphimbu, a User Command β¨. It's a histogram builder for 1-d numerical and text data and honestly? she's iconic for it. π
πΈ SYNOPSIS πΈ
maphimbu [OPTION]... [FILE]
π¦ DESCRIPTION π¦
So like, this program makes 1-d histograms out of numerical data OR text data, whatever you throw at it. Versatile queen. π
And ALSO β plot twist β you can use it to estimate the probability distribution function of a numerical variable. The whole lore is here if you wanna read up:
http://en.wikipedia.org/wiki/Probability_density_function
β¨ OPTIONS β¨
okay bestie, here's the full menu, no skips, no cuts, all of it π«Ά
-x <int>β which column is your x-data. Default is1. That's it, that's the vibe.-y <int>β which column is your y-data. Default is2. Heads up tho: she only gets considered when you combine her with-mor-S. Otherwise she's just sitting there, pretty and unused. π-d <float|int>β the delta size (aka the dx-resolution) for numerical data. CRUCIAL LORE:2is not the same as2.0, bestie. With2, the numbers get treated as integers. With2.0, they're floats. Do not mix these up, I am begging. π-nβ normalize the result. Two flavours:- A) non-numerical data:
n(x) = counts(x)/sum_of_counts - B) numerical data: the normalized probability density func.
- A) non-numerical data:
and the rule is P(-INF < x <INF) = Int_[-INF:INF] P(x)*dx = 1 ;
For the numerical integration, an open x-data interval is assumed. fyi. β¨
-Nβ normalize data against the total sum of counts. Lowkey the same as option-nexcept with case A forced. π-Uβ normalize the result with the x-range mapped to unit. The x-values get mapped to the interval[0:1], respectivelyInt_[0:1] P(x)*dx = 1. Mutually exclusive with-nβ pick a lane, you cannot have both. π«-Sβ compute sums and normalized sums of y-values. The normalization uses the total sum of ALL y-values.-mβ compute the arithmetic average of the y-values inside the underlying x-bin. math girlie behavior π-aβ compute accumulated sums of the result data column. Default is column2, or column3if there's normalization happening. Also! the programmintegrateis needed in this case. Don't forget her. π-s <int>β sort the output using the specified column. The header gets skipped in this case.-g <int>β sort the output numerically using the specified column. Header skipped here too, same deal.-rβ do reverse sorting. Only hits different in combination with-gand-s. π-Cβ center the histogram bins (shifts the x-axis by0.5*dx). so symmetrical of her π§-Xβ treat the whole line as one string (a single data record). one line, one vibe.-Hβ print a data description header. π-Vβ print program version and exit. bye bestie π--versionβ output version AND copyright information. the full receipts.--helpβ display help. π«Ά-hβ display short help (options summary). the tl;dr version.
Note: this program is not intended for use in high order numerical computations. She's a vibe, not a supercomputer. Know her limits. π
π REPORTING BUGS π
Found a bug? Do NOT suffer in silence, bestie. Report bugs to:
<gnu@mirendom.net>
π COPYRIGHT π
Copyright Β© 2003-2007, 2009, 2011-2013 Dimitar Ivanov
License: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. π«Ά
maphimbu 2.10.1 β July 2014 β and that's the whole page, periodt. πβ¨π go build some histograms, you absolute main character. πβπ
π¦ where this page comes from
- debian bookworm: stda 1.3.1-2.1 Β· GPL-3.0-or-later
- debian trixie: stda 1.3.1-2.1 Β· GPL-3.0-or-later
- ubuntu jammy: stda 1.3.1-2.1 Β· GPL-3.0-or-later
- ubuntu noble: stda 1.3.1-2.1 Β· GPL-3.0-or-later
- ubuntu resolute: stda 1.3.1-2.1build1 Β· GPL-3.0-or-later
- ubuntu stonking: stda 1.3.1-2.2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms