I'm working my way through someone's old code and rebuilding it.

In one of the notebooks it appears they used a package called "BinThis" which I cannot seem to find any documentation for or a trace of having existed.

Here's what's going on in the code:

BinEdges[{{10}, {1*^-1, 10}}]
DensityHistogram[testData,  {{BinEdges[{40, {0, 3}}]}, {0, 1, .05}}, 
 ImageSize -> Large]

testData is a list of $j$ two-element lists that was defined earlier on in the code $[[n_{1},m_{1}],....[n_{j},m_{j}]]$. My interpretation is BinEdges[{},{}] is a built-in function in the package BinThis.

But as I mentioned I can't seem to find any trace of such a package having ever existed.

Any help on this would be appreciated.

  • $\begingroup$ You might want to look at the Mathematica function BinCounts. $\endgroup$
    – JimB
    Feb 8 at 21:38
  • $\begingroup$ or FindDivisions $\endgroup$
    – Ben Izd
    Feb 9 at 19:09


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy