
Re: Two histograms in one chart  same bin width.
Posted:
May 13, 2014 6:19 PM


On Wednesday, May 14, 2014 6:18:10 AM UTC+12, Ulrik Nash wrote: > I have two series of numbers generated by two different normal distributions. There are an equal number of values in each. The first sequence has high variance, the second low variance. The means are equal for each. > > > > What I wish to do is create one chart with two histograms, where each histogram has the same bin numbers and bin intervals. > > > > I though this was a simple matter of using hist(A,bins) hold on hist(B,bins) but it looks as if Matlab ensures that the height of the histograms are roughly equal, by using different bin widths. > > > > How can I instead implement what I am looking for? > > > > Best, > > > > Ulrik.
help stairs

