nahren manuel
nahren manuel

Reputation: 21

Creating histogram plot

I have a 2D array. Lets say column 1 (a distribution), ranges from 0-2, column 2, ranges from 2-4, column 3, from 4-6 etc. I want to have a histogram plot for each of the columns, colored by the range, so for

column 1, blue-0 and red-2, 
column 2, blue-2 and red-4,

...and so on.

Upvotes: 2

Views: 1261

Answers (2)

Pablo Fonseca
Pablo Fonseca

Reputation: 21

I'm not sure but I think you could have a look at matplotlib.

Upvotes: 2

jcollado
jcollado

Reputation: 40374

Please have a look at matplotlib.pyplot.hist.

Upvotes: 2

Related Questions