I am trying to plot a histogram of some values in an array:
eg:-
input_hist=[0.5,0.5,0.66,0.83,0.92,0.92,0.93,0.97,0.98,0.98,0.98,0.99]
after issuing the pylab.hist(input_hist) statement these are the return
values that i get.
(array([2, 0, 0, 1, 0, 0, 1, 0, 3, 5]), array([ 0.5 , 0.549, 0.598,
On Sat, Jul 26, 2008 at 3:47 PM, aditya shukla
[EMAIL PROTECTED] wrote:
I am trying to plot a histogram of some values in an array:
eg:-
input_hist=[0.5,0.5,0.66,0.83,0.92,0.92,0.93,0.97,0.98,0.98,0.98,0.99]
after issuing the pylab.hist(input_hist) statement these are the return
values that i
I need to generate a set of histograms, but would like to plot only
the skyline
of the histogram, and leave out the vertical lines where adjencent
bars touch.
I have looked at the docs, but nothing jumped out at me as the right
keyword
for this. Is this possible? and if so, how?
Cheers
On Sep 24, 2007, at 2:32 PM, Tommy Grav wrote:
I need to generate a set of histograms, but would like to plot only
the skyline
of the histogram, and leave out the vertical lines where adjencent
bars touch.
I have looked at the docs, but nothing jumped out at me as the right
keyword
for
I wrote the following code to do this for me...it is not entirely general
(in the sense that it doesn't accept all kwargs beyond bins and hatch) and
also allows me to do my own normalization But you should be able to
use it pretty easily.
def open_hist(arr,bins=10,norm=None,hatch=None):
Perry Greenfield wrote:
On Sep 24, 2007, at 2:32 PM, Tommy Grav wrote:
I need to generate a set of histograms, but would like to plot only
the skyline
of the histogram, and leave out the vertical lines where adjencent
bars touch.
I have looked at the docs, but nothing jumped out at me as