Re: Plotting histograms

2006-10-18 Thread Robert Kern
[EMAIL PROTECTED] wrote: > Thanks for the replies ... its perfect now ... but just one more thing > ... how can I plot another function(a semi circle) in the same > histogram? Just call the appropriate plotting function after you plot the histogram. By default, the second plot will go into the s

Re: Plotting histograms

2006-10-18 Thread [EMAIL PROTECTED]
Thanks for the replies ... its perfect now ... but just one more thing ... how can I plot another function(a semi circle) in the same histogram? thanks amit Robert Kern wrote: > [EMAIL PROTECTED] wrote: > > Thanks Robert, > > > > My previous problem is solved(I was using 'from matplotlib.pylab

Re: Plotting histograms

2006-10-18 Thread Roberto Bonvallet
[EMAIL PROTECTED] wrote: > hi, I have some values(say from -a to a) stored in a vector and I want > to plot a histogram for those values. How can I get it done in python. > I have installed and imported the Matplotlib package but on executing > the code > [N,x]=hist(eig, 10) # make a histogram > I

Re: Plotting histograms

2006-10-17 Thread Robert Kern
[EMAIL PROTECTED] wrote: > Thanks Robert, > > My previous problem is solved(I was using 'from matplotlib.pylab import > *') but now I am facing another problem. I want to plot the histogram > of eigenvalues calculated and I am using the following code: > ___

Re: Plotting histograms

2006-10-17 Thread [EMAIL PROTECTED]
Thanks Robert, My previous problem is solved(I was using 'from matplotlib.pylab import *') but now I am facing another problem. I want to plot the histogram of eigenvalues calculated and I am using the following code: ___ import n

pylab package dependencies (was: Plotting histograms)

2006-10-17 Thread Lou Pecora
In article <[EMAIL PROTECTED]>, Robert Kern <[EMAIL PROTECTED]> wrote: > I presume what you did was something like this: > >from matplotlib import pylab >[N,x] = hist(eig, 10) > > What you actually want is this: > >from matplotlib import pylab >[N,x] = pylab.hist(eig, 10) > >

Re: Plotting histograms

2006-10-16 Thread Theerasak Photha
On 16 Oct 2006 20:49:10 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > hi, I have some values(say from -a to a) stored in a vector and I want > to plot a histogram for those values. How can I get it done in python. > I have installed and imported the Matplotlib package but on executing > the

Re: Plotting histograms

2006-10-16 Thread Robert Kern
[EMAIL PROTECTED] wrote: > hi, I have some values(say from -a to a) stored in a vector and I want > to plot a histogram for those values. How can I get it done in python. > I have installed and imported the Matplotlib package but on executing > the code > [N,x]=hist(eig, 10) # make a histogram > I

Plotting histograms

2006-10-16 Thread [EMAIL PROTECTED]
hi, I have some values(say from -a to a) stored in a vector and I want to plot a histogram for those values. How can I get it done in python. I have installed and imported the Matplotlib package but on executing the code [N,x]=hist(eig, 10) # make a histogram I am getting an error saying "NameEr