Re: [Matplotlib-users] hist question...

2010-05-20 Thread Alan G Isaac
On 5/18/2010 9:53 AM, Nick Schurch wrote: > Is there anyway of re-ploting the distribution generated by hist at a > later point? http://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html hth, Alan Isaac -

Re: [Matplotlib-users] hist question...

2010-05-18 Thread PHobson
Nick, Check out this demo on the MPL website: http://matplotlib.sourceforge.net/examples/api/histogram_demo.html This line in particular: n, bins, patches = ax.hist(x, 50, normed=...) The variables 'n' and 'bins' can be fed into ax.bar() later on. I could swear that this was clear from the docs