Plotting histograms

amitsoni.1984 at gmail.com amitsoni.1984 at gmail.com
Mon Oct 16 23:49:10 EDT 2006


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   "NameError: name 'hist' is not
defined".

Is there any other way to plot histograms over a given range?

thanks

Amit




More information about the Python-list mailing list