Re: [Matplotlib-users] Plotting two histograms

2007-04-06 Thread Tommy Grav
On Apr 6, 2007, at 1:04 PM, Jeff Whitaker wrote: > Tommy Grav wrote: >> I have two lists that I would like to plot as two separate >> histograms inside the same >> plot. However >> >> pylab.hist(h1list,26,facecolor='r') >> pylab.hist(h2list,26,alpha=0.3) >> pylab.show() >> >> seems to plot the

Re: [Matplotlib-users] Plotting two histograms

2007-04-06 Thread Jeff Whitaker
Tommy Grav wrote: > I have two lists that I would like to plot as two separate histograms > inside the same > plot. However > > pylab.hist(h1list,26,facecolor='r') > pylab.hist(h2list,26,alpha=0.3) > pylab.show() > > seems to plot the two histograms with different x-y limits on the > axis. Also

[Matplotlib-users] Plotting two histograms

2007-04-06 Thread Tommy Grav
I have two lists that I would like to plot as two separate histograms inside the same plot. However pylab.hist(h1list,26,facecolor='r') pylab.hist(h2list,26,alpha=0.3) pylab.show() seems to plot the two histograms with different x-y limits on the axis. Also how can I force the bins to have th