Verteilung Handlung ein array

Ich habe eine numpy array mit float-Werte in [-10..10]. Ich möchte ein Grundstück distribution-graph der Werte, wie dies (hier ist es getan für eine binomiale Zufallsvariable) :

Verteilung Handlung ein array

Zum Beispiel würde ich gerne bars zählen die Anzahl der Elemente in jedem Intervall [-10, -9.5], [-9.5, -9], ..., [9.5, 10].

Wie solch eine Verteilung plot mit Python?

InformationsquelleAutor Basj | 2014-03-29

Schreibe einen Kommentar