Re: [Matplotlib-users] plotting normalized histograms

2009-10-17 Thread Gökhan Sever
On Fri, Oct 16, 2009 at 7:04 PM, per freem wrote: > hi all, > > i have a matrix of data and i would like to make a set of subplots, > each subplot with a histgram of one of the columns of the data. the > dataset is an Nx4 matrix containing only numbers between 0 and 1. > > i plot it like this: >

[Matplotlib-users] plotting normalized histograms

2009-10-16 Thread per freem
hi all, i have a matrix of data and i would like to make a set of subplots, each subplot with a histgram of one of the columns of the data. the dataset is an Nx4 matrix containing only numbers between 0 and 1. i plot it like this: plt.subplot(2, 2, 1) # histogram of first column plt.hist(mydata[