The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Getting histogram information
Replies: 3   Last Post: Jun 11, 2009 9:46 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Raul Martinez

Posts: 11
Registered: 5/14/07
Getting histogram information
Posted: Jun 11, 2009 7:07 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have used the Histogram[] function many times. It works well and has
lots of options but seems to lack transparency.

Specifically, if I don't specify a bin width and let the function
compute it, I want to know exactly what bin width the function used.
Obviously, with some additional work I can infer the bin width from
the resulting histogram. It would be better, however, to know
precisely the bin width that the function actually used.

I consulted Wolfram support about this and they were helpful,
providing me with a bit of clever but rather obscure code that returns
the populated histogram bins. But this still requires additional work
to infer the bin width. The code provided by Wolfram support is listed
after the signature.

Can anyone figure out how to get the bin width directly from the
Histogram[] function?

Thanks in advance.

Raul Martinez






(*This will give the number of bins.*)

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.