Changing interval in Histogram, Mathematica

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 7K views
SrEstroncio
Messages
60
Reaction score
0
Hello again. Sorry for all the posts.

I have a histogram of frequencies in Mathematica and the intervals on the x-axis are predefined and kind of unrepresentative. I changed the bin number (with 'Histogram[mydata, binnumber]') but I can't seem to find anything on the internet about changing the interval(example, my chart starts at 0 and ends at 2, it shows intervals of 0.5, when I want them to be about 0.1 or so). Help!
 
Physics news on Phys.org
IF you have version 7 your MMA Help documents this OR Wolfram documents this:
http://reference.wolfram.com/mathematica/ref/Histogram.html

Histogram[{x1, x2, ...}, w]
plots a histogram with bin width specification w.

If you have an older version then the answer is somewhat different but you can still find this documented by searching your MMA Help documents or Wolfram's site.